Trait rolling_file::RollingCondition[][src]

pub trait RollingCondition {
    fn should_rollover(
        &mut self,
        now: &DateTime<Local>,
        current_filesize: u64
    ) -> bool; }

Determines when a file should be “rolled over”.

Required methods

fn should_rollover(
    &mut self,
    now: &DateTime<Local>,
    current_filesize: u64
) -> bool
[src]

Determine and return whether or not the file should be rolled over.

Loading content...

Implementors

impl RollingCondition for RollingConditionBasic[src]

Loading content...