SummaryFormatter

Type Alias SummaryFormatter 

Source
pub type SummaryFormatter = Arc<dyn Fn(&SuppressionSummary) + Send + Sync + 'static>;
Expand description

Function type for formatting suppression summaries.

Takes a reference to a SuppressionSummary and emits it as a tracing event. The function is responsible for choosing the log level and format.

Aliased Typeยง

pub struct SummaryFormatter { /* private fields */ }