pub struct FileAppender { /* private fields */ }
Expand description
only write append into file
Implementations
sourceimpl FileAppender
impl FileAppender
pub fn new(log_file_path: &str) -> FileAppender
Trait Implementations
sourceimpl LogAppender for FileAppender
impl LogAppender for FileAppender
sourcefn do_logs(&self, records: &[FastLogRecord])
fn do_logs(&self, records: &[FastLogRecord])
Batch write log, or do nothing
Auto Trait Implementations
impl !RefUnwindSafe for FileAppender
impl Send for FileAppender
impl !Sync for FileAppender
impl Unpin for FileAppender
impl UnwindSafe for FileAppender
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