Trait slog_extlog::ExtLoggable [−][src]
pub trait ExtLoggable: Value { fn ext_log<T>(&self, logger: &StatisticsLogger<T>)
where
T: StatisticsLogFormatter + Send + Sync + 'static; }
An object that can be logged.
Usually custom-derived using the slog-extlog-derive
crate.
Required Methods
fn ext_log<T>(&self, logger: &StatisticsLogger<T>) where
T: StatisticsLogFormatter + Send + Sync + 'static,
T: StatisticsLogFormatter + Send + Sync + 'static,
Log this object with the provided Logger.
Do not call directly - use xlog! instead.