Skip to main content

Module helpers

Module helpers 

Source
Expand description

Contains helper functions for the crate

Functionsยง

initialize_logging
Initializes logging
initialize_logging_with
Initializes logging with an optional extra Layer (e.g. an OTel bridge).
parse_span_filter ๐Ÿ”’
stderr_layer ๐Ÿ”’

Type Aliasesยง

ErasedFmtLayer
A type-erased fmt layer attached over a Registry. The OTel bridge layer wraps a subscriber of type Layered<ErasedFmtLayer, Registry>.
FmtSubscriber
Composed subscriber type after the fmt layer is applied. Callers building an OTel layer for initialize_logging_with should target this subscriber.