pub trait LogAppender: Send {
    // Required method
    fn do_logs(&self, records: &[FastLogRecord]);
}
Expand description

LogAppender append logs Appender will be running on single main thread,please do_log for new thread or new an Future

Required Methods§

source

fn do_logs(&self, records: &[FastLogRecord])

Batch write log, or do nothing

Implementors§