Module aws_smithy_http_server_python::logging
source · [−]Expand description
Rust tracing
and Python logging
setup and utilities.
Enums
This custom logger enum exported to Python can be used to configure the
both the Rust tracing
and Python logging
levels.
We cannot export directly tracing::Level
to Python.
Functions
Setup tracing::subscriber
reading the log level from RUST_LOG environment variable
and inject the custom Python logger
into the interpreter.