Expand description
Tracing subscriber for capturing logs from external Rust libraries.
This module initializes a standard tracing subscriber that outputs directly
to stdout, allowing external Rust libraries that use the tracing crate
to have their logs displayed.
§Usage
- Set
use_tracing=TrueinLoggingConfig. - Set
RUST_LOGenvironment variable to control filtering.
§Example
RUST_LOG=hyper=debug,tokio=warn python my_script.pyFunctions§
- init_
tracing - Initializes a tracing subscriber for external Rust crate logging.
- tracing_
is_ initialized - Returns whether the tracing subscriber has been initialized.