Skip to main content

filter_log

Function filter_log 

Source
pub fn filter_log(
    path: &Path,
    filter: &Filter,
    format: LogFormat,
) -> Result<Vec<String>>
Expand description

Apply filter to every record in path and return matches rendered in format.

ยงErrors

Returns io::Error if the file cannot be opened or read.