Trait cli_log::Log [−][src]
pub trait Log: Sync + Send { fn enabled(&self, metadata: &Metadata<'_>) -> bool; fn log(&self, record: &Record<'_>); fn flush(&self); }
Expand description
A trait encapsulating the operations required of a logger.