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§
Structs§
- Directive
- File
- Write to a
File
. - Filter
- Format
- Config for formatters.
- Json
- NonBlocking
- Configuration for
tracing_appender::non_blocking::NonBlocking
. - Parse
Error - Roll
- Config for
tracing_appender::rolling::RollingFileAppender
. - Rolling
- Use a
tracing_appender::rolling::RollingFileAppender
. - Subscriber
- Configuration for a totally dynamic subscriber.
Enums§
- Backpressure
Behaviour - How the
tracing_appender::non_blocking::NonBlocking
should behave on a full queue. - File
Open Behaviour - 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
. - Subscriber
Builder - A totally dynamically configured
tracing_subscriber::fmt::SubscriberBuilder
.