pub fn parse_log_filename(name: &str) -> Result<i64, LogError>Expand description
Parse a .log filename and return its base offset.
"00000000000000001847.log" → Ok(1847).
§Errors
Returns LogError::BadSegmentName when the name has no .log extension, when the stem is not FILENAME_DIGITS characters long, or when the stem is not a decimal i64.