Trait diem_logger::Writer

source ·
pub trait Writer: Send + Sync {
    // Required method
    fn write(&self, log: String);
}
Expand description

An trait encapsulating the operations required for writing logs.

Required Methods§

source

fn write(&self, log: String)

Write the log.

Implementors§