Skip to content

Commit

Permalink
add add_appender
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuxiujia committed Mar 9, 2024
1 parent 12a5ab0 commit 544a752
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/fast_log.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,9 @@ impl Log for Logger {
if let Some(send) = LOGGER.send.get() {
for filter in filter.filters.iter() {
if !filter.do_log(record) {
println!("no");
return;
}
}
println!("send");
let _ = send.send(FastLogRecord {
command: Command::CommandRecord,
level: record.level(),
Expand Down

0 comments on commit 544a752

Please sign in to comment.