pub trait SinkConfigTrait {
// Required methods
fn get_level(&self) -> Level;
fn get_file_path(&self) -> Option<Box<Path>>;
fn write_hash(&self, hasher: &mut Box<dyn Hasher>);
fn build(&self) -> LoggerSink;
}Required Methods§
Sourcefn get_file_path(&self) -> Option<Box<Path>>
fn get_file_path(&self) -> Option<Box<Path>>
Only file sink has path
Sourcefn write_hash(&self, hasher: &mut Box<dyn Hasher>)
fn write_hash(&self, hasher: &mut Box<dyn Hasher>)
Calculate hash for config comparision