pub trait RollingCondition { // Required method fn should_rollover( &mut self, now: &DateTime<Local>, current_filesize: u64, ) -> bool; }
Determines when a file should be “rolled over”.
Determine and return whether or not the file should be rolled over.