Skip to main content

fallback_tail

Function fallback_tail 

Source
pub fn fallback_tail(output: &str, label: &str, n: usize) -> String
Expand description

Return the last n lines of output with a label, for use as a fallback when filter parsing fails. Logs a diagnostic to stderr.