Skip to main content

parse_log_rotate

Function parse_log_rotate 

Source
pub fn parse_log_rotate(
    mode: &str,
    size: Option<&str>,
    keep: Option<usize>,
) -> Result<LogRotate, String>
Expand description

Parse rotate mode string (size / daily / never).