[][src]Trait log4rs::append::rolling_file::policy::compound::trigger::Trigger

pub trait Trigger: Debug + Send + Sync + 'static {
    fn trigger(
        &self,
        file: &LogFile
    ) -> Result<bool, Box<dyn Error + Sync + Send>>; }

A trait which identifies if the active log file should be rolled over.

Required methods

fn trigger(&self, file: &LogFile) -> Result<bool, Box<dyn Error + Sync + Send>>

Determines if the active log file should be rolled over.

Loading content...

Trait Implementations

impl Deserializable for dyn Trigger[src]

Implementors

impl Trigger for SizeTrigger[src]

Loading content...