[][src]Trait libra_logger::Writer

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

An trait encapsulating the operations required for writing logs.

Required methods

fn write(&self, log: String)

Write the log.

Loading content...

Implementors

impl Writer for FileWriter[src]

fn write(&self, log: String)[src]

Write to file

Loading content...