Crate tracing_configuration

Source
Expand description

Configuration-as-a-struct for tracing_subscriber::fmt::Subscriber, to allow for serializable, dynamic configuration, at the cost of compile-time specialization.

Modules§

format
time
writer

Structs§

Directive
File
Write to a File.
Filter
Format
Config for formatters.
Json
NonBlocking
Configuration for tracing_appender::non_blocking::NonBlocking.
ParseError
Roll
Config for tracing_appender::rolling::RollingFileAppender.
Rolling
Use a tracing_appender::rolling::RollingFileAppender.
Subscriber
Configuration for a totally dynamic subscriber.

Enums§

BackpressureBehaviour
How the tracing_appender::non_blocking::NonBlocking should behave on a full queue.
FileOpenBehaviour
How to treat a newly created log file in Writer::File.
Formatter
The specific output format.
Level
Rotation
How often to rotate the tracing_appender::rolling::RollingFileAppender.
Timer
Which timer implementation to use.
Writer
Which writer to use.

Type Aliases§

Layer
A totally dynamically configured tracing_subscriber::fmt::Layer.
SubscriberBuilder
A totally dynamically configured tracing_subscriber::fmt::SubscriberBuilder.