Skip to main content

load_events

Function load_events 

Source
pub fn load_events(
    path: &Path,
    limit: usize,
    event_filter: Option<&str>,
    contains: Option<&str>,
) -> Result<Vec<LogEvent>>
Expand description

Load a page of events. Replaces the old load_events shape with a thin wrapper around the new paginated reader. The legacy event_filter (single action match) and contains (substring) args map straight onto the new LogFilter fields.