Logger

Trait Logger 

Source
pub trait Logger: Debug {
    // Required method
    fn log(&mut self, lvl: Level, time_label: &str, text: &str, tag: &str);
}
Expand description

This trait is used to abstract logging functionality

This trait is only available if the custom-logging feature is enabled

Required Methods§

Source

fn log(&mut self, lvl: Level, time_label: &str, text: &str, tag: &str)

Implementors§