Trait Loggable

Source
pub trait Loggable {
    // Required method
    fn log_behavior(&self) -> String;
}
Expand description

A trait for types that can be logged using the tracer.

Required Methods§

Source

fn log_behavior(&self) -> String

Returns a string representation of the value that can be included in a log message.

Implementors§