LoggerProvider

Trait LoggerProvider 

Source
pub trait LoggerProvider {
    // Required method
    fn log<'life0, 'life1, 'async_trait>(
        &'life0 mut self,
        worker_id: &'life1 str,
        level: Level,
        context: String,
        message: String,
    ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}

Required Methods§

Source

fn log<'life0, 'life1, 'async_trait>( &'life0 mut self, worker_id: &'life1 str, level: Level, context: String, message: String, ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementors§