pub trait Policy: Sync + Send + 'static + Debug {
fn process(
&self,
log: &mut LogFile<'_>
) -> Result<(), Box<dyn Error + Sync + Send>>;
}
Expand description
A trait implementing a rolling policy for a RollingFileAppender
.