Structsยง
- Config
- Logging configuration.
Enumsยง
- Backtrace
Logging ๐Mode - Controls how backtraces are logged on panic.
- Stream
- Which standard stream the fmt layer writes to.
Functionsยง
- fmt_
layer ๐ - initialize_
logging - Initializes logging on stdout.
- initialize_
logging_ on_ stderr - Initializes logging on stderr.
- initialize_
logging_ with - Initializes logging with an optional extra
Layer(e.g. an OTel bridge). - parse_
span_ ๐filter
Type Aliasesยง
- Erased
FmtLayer - A type-erased fmt layer attached over a
Registry. The OTel bridge layer wraps a subscriber of typeLayered<ErasedFmtLayer, Registry>. - FmtSubscriber
- Composed subscriber type after the fmt layer is applied. Callers building
an OTel layer for
initialize_logging_withshould target this subscriber.