Trait SinkConfigTrait

Source
pub trait SinkConfigTrait {
    // Required methods
    fn get_level(&self) -> Level;
    fn get_file_path(&self) -> Option<Box<Path>>;
    fn build(&self) -> LoggerSink;
}

Required Methods§

Source

fn get_level(&self) -> Level

Source

fn get_file_path(&self) -> Option<Box<Path>>

Only LogFile has path

Source

fn build(&self) -> LoggerSink

Implementors§