pub trait SinkConfigTrait: 'static + SinkConfigBuild {
// Required methods
fn get_level(&self) -> Level;
fn get_file_path(&self) -> Option<Box<Path>>;
fn write_hash(&self, hasher: &mut Box<dyn Hasher>);
}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 comparison
Implementors§
impl SinkConfigTrait for LogRingFile
Available on crate feature
ringfile only.impl SinkConfigTrait for LogBufFile
impl SinkConfigTrait for LogConsole
impl SinkConfigTrait for LogRawFile
impl SinkConfigTrait for Syslog
Available on crate feature
syslog only.