Skip to main content

parse_rotation

Function parse_rotation 

Source
pub fn parse_rotation(value: Option<&str>) -> Rotation
Expand description

Parse the configured rotation policy. Defaults to DAILY for None or any unrecognized value, for the same reason as parse_log_format.