pub trait LogListener: 'static + Sync {
    // Required methods
    fn log(
        &self,
        session: usize,
        level: Level,
        msg: &CStr,
        logger_name: &CStr,
        tid: usize
    );
    fn level(&self) -> Level;

    // Provided method
    fn close(&self) { ... }
}

Required Methods§

source

fn log( &self, session: usize, level: Level, msg: &CStr, logger_name: &CStr, tid: usize )

source

fn level(&self) -> Level

Provided Methods§

source

fn close(&self)

Implementors§