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