nautilus_common::python::logging

Function py_init_tracing

Source
pub fn py_init_tracing()
Expand description

Initialize tracing.

Tracing is meant to be used to trace/debug async Rust code. It can be configured to filter modules and write up to a specific level only using by passing a configuration using the RUST_LOG environment variable.

ยงSafety

Should only be called once during an applications run, ideally at the beginning of the run.