pub fn logs_to_str_filtered<'a>(
    raw_logs: &'a Vec<Data<Logs>>,
    maybe_filter_by_process: Option<Vec<&'a dyn Component>>,
    filter_by_log: impl FnMut(&&Data<Logs>) -> bool + 'a
) -> impl Iterator<Item = &'a str> + 'a
Expand description

Same as |logs_to_str|, except an additional filtering function may be used to trim arbitrary logs. This is particularly useful if one or more languages produces logs that we don’t want to include in the final, common output to be compared across language implementations.