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

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

Required methods

Determines if the active log file should be rolled over.

Trait Implementations

Returns a name for objects implementing the trait suitable for display in error messages. Read more

Implementors