pub fn setup(py: Python<'_>, level: LogLevel) -> PyResult<()>
Setup tracing::subscriber reading the log level from RUST_LOG environment variable and inject the custom Python logger into the interpreter.
tracing::subscriber
logger