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, 
[src]

Log this object with the provided Logger.

Do not call directly - use xlog! instead.

Loading content...

Implementors

Loading content...