pub trait Roll: Debug + Send + Sync + 'static {
fn roll(&self, file: &Path) -> Result<(), Box<dyn Error + Sync + Send>>;
}
Expand description
A trait which processes log files after they have been rolled over.
pub trait Roll: Debug + Send + Sync + 'static {
fn roll(&self, file: &Path) -> Result<(), Box<dyn Error + Sync + Send>>;
}
A trait which processes log files after they have been rolled over.