pub trait LogAppender: Send {
    fn do_log(&self, record: &FastLogRecord);

    fn type_name(&self) -> &'static str { ... }
}
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

this method use one coroutines run this(Multiple appenders share one Appender). so. if you want access the network, you can launch a coroutine using go! (| | {});

Provided methods

Implementors