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.
pub trait Writer: Send + Sync {
// Required method
fn write(&self, log: String);
}
An trait encapsulating the operations required for writing logs.