pub fn new(settings: &Settings) -> Self {
        TerminalLogger {
            max_level: settings.max_level(),
            metrics_enabled: settings.enable_metrics(),
            style: settings.style(),
            next_message_id: AtomicUsize::new(0),
        }
    }
/// Creates new terminal logger instance.
Creates new terminal logger instance.
Creates new terminal logger instance .
pub fn new(settings: &Settings) -> Self {
        TerminalLogger {
            max_level: settings.max_level(),
            metrics_enabled: settings.enable_metrics(),
            style: settings.style(),
            next_message_id: AtomicUsize::new(0),
        }
    }
pub fn new ( settings : & Settings ) -> Self { TerminalLogger { max_level : settings . max_level ( ) , metrics_enabled : settings . enable_metrics ( ) , style : settings . style ( ) , next_message_id : AtomicUsize :: new ( 0 ) , } }
Creates new terminal logger instance.
Creates new terminal logger instance .
settings
&Settings
settings
&Settings