flexi_logger/parameters/
age.rs

1/// The age after which a log file rotation will be triggered,
2/// when [`Criterion::Age`](crate::Criterion::Age) is chosen.
3#[derive(Copy, Clone, Debug)]
4pub enum Age {
5    /// Rotate the log file when the local clock has started a new day since the
6    /// current file had been created.
7    Day,
8    /// Rotate the log file when the local clock has started a new hour since the
9    /// current file had been created.
10    Hour,
11    /// Rotate the log file when the local clock has started a new minute since the
12    /// current file had been created.
13    Minute,
14    /// Rotate the log file when the local clock has started a new second since the
15    /// current file had been created.
16    Second,
17}