Function parse_log_file
Source pub fn parse_log_file(path: &Path, period_secs: u64) -> Result<AggregatedStats>
Expand description
Parse a log file and return aggregated statistics.
§Arguments
path - Path to the log file
period_secs - Time period in seconds (from now backwards)
§Errors
Returns an error if the file cannot be read.