1
2
3
4
5
6
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
/// The way to rotate log files.
pub enum RotateMethod {
    /// Rotate log files by a file size threshold in bytes.
    FileSize(u64),
}