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.

Required methods

Processes the log file.

At the time that this method has been called, the log file has already been closed.

If this method returns successfully, there must no longer be a file at the specified location.

Trait Implementations

Returns a name for objects implementing the trait suitable for display in error messages. Read more

Implementors