Module tracing

Source
Expand description

Utilities for [tracing-subscriber]

Structs§

MakeWriterInterceptor
A MakeWriter that intercepts logs before writing them and allows both to accumulate them in a list or stream to subscribers.
TracingContext
The tracing context.
WriterInterceptor
A Writer interceptor for MakeWriterInterceptor

Functions§

dynamic_intercepted_tracing_layer
Generates a default tracing layer with the given Targets filter that can be updated from its TracingContext and intercepted with its MakeWriterInterceptor
dynamic_tracing_layer
Generates a default tracing layer with the given Targets filter that can be updated from its TracingContext
initialize_tracing
Initializes the global tracing subscriber
intercepted_tracing_layer
Generates a default tracing layer with the given Targets filter that can be intercepted with its MakeWriterInterceptor
tracing_layer
Generates the default compact tracing layer with the given Targets filter