8 releases
| 0.0.7 | Oct 22, 2025 |
|---|---|
| 0.0.6 | Oct 6, 2025 |
| 0.0.5 | Jul 1, 2025 |
| 0.0.4 | Oct 12, 2023 |
| 0.0.0 | Mar 7, 2022 |
#430 in Debugging
255 downloads per month
6KB
tracing-for-pyo3-logging
Enables tracing for pyo3-based embedded Python applications using Python's logging module.
Usage
Run setup_logging before using logging for the first time:
Python::attach(|py| {
// Extend the `logging` module to interact with tracing
tracing_for_pyo3_logging::setup_logging(py)
})?;
Features
Enable the log feature if the host uses a log based logger instead.
Dependencies
~3MB
~60K SLoC