Skip to content

Commit

Permalink
clear warning
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuxiujia committed Jul 19, 2022
1 parent 32a1b82 commit 4db9529
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
3 changes: 1 addition & 2 deletions src/appender.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
use crate::appender::Command::CommandRecord;
use crossbeam_utils::sync::WaitGroup;
use log::LevelFilter;
use std::ops::{Add, Sub};
use std::time::{Duration, SystemTime};
use std::time::{SystemTime};

/// LogAppender append logs
/// Appender will be running on single main thread,please do_log for new thread or new an Future
Expand Down
4 changes: 2 additions & 2 deletions src/fast_log.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
use log::{LevelFilter, Log, Metadata, Record};
use std::ops::{Deref, DerefMut};
use std::ops::{Deref};
use std::sync::atomic::{AtomicI32, AtomicI64, Ordering};

use crate::appender::{Command, FastLogRecord, RecordFormat};
use crate::appender::{Command, FastLogRecord};
use crate::config::Config;
use crate::error::LogError;
use crate::filter::Filter;
Expand Down
1 change: 0 additions & 1 deletion src/plugin/file_split.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ use crate::appender::{Command, FastLogRecord, LogAppender};
use crate::consts::LogSize;
use crate::error::LogError;
use crate::{chan, Receiver, Sender};
use std::ops::Sub;
use std::str::FromStr;
use std::time::Duration;

Expand Down

0 comments on commit 4db9529

Please sign in to comment.