pub trait Writer: Send + Sync {
    fn write(&self, log: String);
    fn write_buferred(&mut self, log: String);
}
Expand description

A trait encapsulating the operations required for writing logs.

Required Methods

Write the log.

Write the log in an async task.

Implementors