[−][src]Trait log4rs::append::rolling_file::policy::Policy
A trait implementing a rolling policy for a RollingFileAppender
.
Required methods
fn process(&self, log: &mut LogFile<'_>) -> Result<()>
Rolls the current log file, if necessary.
This method is called after each log event. It is provided a reference to the current log file.