Expand description
Contains layers used in this crate’s subscriber for node diagnostics.
Structs§
- Flamegraph
Layer - A
tracing_subscriber::Layerfor generating a flamegraph of trackedSpans. - LogLayer
- A
tracing_subscriber::Layerfor replicating the logging functionality infern_loggerwithout using thelogcrate as the global subscriber.
Functions§
- flamegraph_
layer - Creates a new
FlamegraphLayer. - log_
layer - Creates a new
LogLayer, using the parameters provided by the givenLoggerConfig.