pub fn setup(py: Python<'_>, level: LogLevel) -> PyResult<()>
Expand description

Setup tracing::subscriber reading the log level from RUST_LOG environment variable and inject the custom Python logger into the interpreter.