pub struct ConsoleAppender {}
Expand description
only write append into console
Trait Implementations
sourceimpl LogAppender for ConsoleAppender
impl LogAppender for ConsoleAppender
sourcefn do_log(&self, record: &FastLogRecord)
fn do_log(&self, record: &FastLogRecord)
write one log, you can use record.formated write to file or any storage
sourcefn do_logs(&self, records: &[FastLogRecord])
fn do_logs(&self, records: &[FastLogRecord])
Batch write log, or do nothing
Auto Trait Implementations
impl RefUnwindSafe for ConsoleAppender
impl Send for ConsoleAppender
impl Sync for ConsoleAppender
impl Unpin for ConsoleAppender
impl UnwindSafe for ConsoleAppender
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