Trait sirlog::backend::Backend[][src]

pub trait Backend: Debug + Send + Sync {
#[must_use]    fn process_log<'life0, 'life1, 'async_trait>(
        &'life0 mut self,
        log: &'life1 Log
    ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; }

A logging backend

Required methods

#[must_use]fn process_log<'life0, 'life1, 'async_trait>(
    &'life0 mut self,
    log: &'life1 Log
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    'life1: 'async_trait,
    Self: 'async_trait, 
[src]

Process the log message log

Loading content...

Implementors

impl Backend for Memory[src]

impl Backend for Os[src]

Loading content...