Struct fast_log::plugin::file_split::FileSplitAppender
source · pub struct FileSplitAppender<F: SplitFile> { /* private fields */ }
Expand description
split log file allow pack compress log Memory space swop running time , reduces the number of repeated queries for IO
Implementations§
source§impl<F: SplitFile> FileSplitAppender<F>
impl<F: SplitFile> FileSplitAppender<F>
Trait Implementations§
source§impl<F: SplitFile> LogAppender for FileSplitAppender<F>
impl<F: SplitFile> LogAppender for FileSplitAppender<F>
source§fn do_logs(&self, records: &[FastLogRecord])
fn do_logs(&self, records: &[FastLogRecord])
Batch write log, or do nothing
Auto Trait Implementations§
impl<F> !RefUnwindSafe for FileSplitAppender<F>
impl<F> Send for FileSplitAppender<F>
impl<F> Sync for FileSplitAppender<F>where
F: Sync,
impl<F> Unpin for FileSplitAppender<F>where
F: Unpin,
impl<F> !UnwindSafe for FileSplitAppender<F>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more