Skip to main content

ExtLoggable

Trait 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§

Source

fn ext_log(&self, logger: &StatisticsLogger)

Log this object with the provided Logger.

Do not call directly - use xlog! instead.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§