pub fn init_tracing() -> Result<()>Expand description
Initializes a tracing subscriber for external Rust crate logging.
This sets up a standard tracing subscriber that outputs to stdout with
the format controlled by RUST_LOG environment variable. The output
format uses nanosecond timestamps to align with Nautilus logging.
§Environment Variables
RUST_LOG: Controls which modules emit tracing events and at what level.- Example:
RUST_LOG=hyper=debug,tokio=warn. - Default:
warn(if not set).
- Example:
§Errors
Returns an error if the tracing subscriber has already been initialized.