Trait flexi_logger::writers::LogWriter[][src]

pub trait LogWriter: Sync + Send {
    fn write(&self, record: &Record) -> Result<()>;
fn flush(&self) -> Result<()>; }

Writes to a single log output stream.

Boxed instances of LogWriter can be used as additional log targets.

Required Methods

write out a log line

Flushes any buffered records.

Implementors