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.