Skip to main content

LogSink

Type Alias LogSink 

Source
pub type LogSink = dyn Fn(LogLevel, &str) + Send + Sync;
Expand description

Where a diagnostic line goes when the tracing feature is not compiled in: the level it was emitted at, and the formatted line without the [dynamic-config] prefix (the sink knows who it installed).