pub fn segment_day(module_id: &str, file_name: &str) -> Option<NaiveDate>Expand description
Parses <module_id>.<YYYY-MM-DD>.log back into its day, or None for any
name that is not exactly that shape — including the r1 pid-suffixed files
and a malformed date, which are left alone rather than guessed at.