LoggerDefinition

Trait LoggerDefinition 

Source
pub trait LoggerDefinition:
    HasLoggingMetadata
    + HasLogLevel
    + HasLogFormat
    + HasLogTransport {
    // Provided methods
    fn to_message_notification(&self) -> LoggingMessageNotification { ... }
    fn to_set_level_request(&self) -> SetLevelRequest { ... }
}
Expand description

Composed logging definition trait (automatically implemented via blanket impl)

Provided Methods§

Source

fn to_message_notification(&self) -> LoggingMessageNotification

Convert this logger definition to a LoggingMessageNotification

Source

fn to_set_level_request(&self) -> SetLevelRequest

Convert this logger definition to a SetLevelRequest

Implementors§