Trait axum_starter::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§