Trait slog_extlog::ExtLoggable
source · pub trait ExtLoggable: Value {
// Required method
fn ext_log(&self, logger: &StatisticsLogger);
}
Expand description
An object that can be logged.
Usually custom-derived using the slog-extlog-derive
crate.
Required Methods§
sourcefn ext_log(&self, logger: &StatisticsLogger)
fn ext_log(&self, logger: &StatisticsLogger)
Log this object with the provided Logger
.
Do not call directly - use xlog!
instead.