Expand description
Subscriber setup — building and installing tracing subscribers.
Subscriber setup — building and installing tracing subscribers.
This module owns everything that depends on the tracing ecosystem: init_logging and friends,
the LoggingGuard, and the EnvFilter/output plumbing.
It is gated behind the default-on setup feature
so that consumers wanting only the configuration vocabulary (see crate::config) do not link tracing-subscriber.
Structs§
- Logging
Guard - Opaque guard — drop to restore the previous tracing subscriber.
- Logging
Setup - Options for
init_logging_full.
Functions§
- init_
logging - Initialize structured logging from a
LoggingConfigwith default masking. - init_
logging_ env - Initialize logging from
RUST_LOGonly (no config struct needed). - init_
logging_ full - Enhanced logging init with all options including OTLP export.
- init_
logging_ with_ masking - Initialize logging with explicit masking configuration.
- init_
logging_ with_ options - Enhanced logging init with optional sampling, per-module levels, and masking.