pub struct FileLoopAppender { /* private fields */ }
Expand description
Single logs are stored in rolling mode by capacity
Implementations
sourceimpl FileLoopAppender
impl FileLoopAppender
pub fn new(log_file_path: &str, max_temp_size: LogSize) -> FileLoopAppender
Trait Implementations
sourceimpl LogAppender for FileLoopAppender
impl LogAppender for FileLoopAppender
sourcefn do_logs(&self, records: &[FastLogRecord])
fn do_logs(&self, records: &[FastLogRecord])
Batch write log, or do nothing
Auto Trait Implementations
impl !RefUnwindSafe for FileLoopAppender
impl Send for FileLoopAppender
impl !Sync for FileLoopAppender
impl Unpin for FileLoopAppender
impl UnwindSafe for FileLoopAppender
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more