Trait LoggerInitialization

Source
pub trait LoggerInitialization {
    type Error: Error;

    // Provided method
    fn init_logger(&self) -> Result<(), Self::Error> { ... }
}
Expand description

init the logger of this server by the Config

init logger require sync

Required Associated Types§

Provided Methods§

Source

fn init_logger(&self) -> Result<(), Self::Error>

Implementors§