| Crates.io | tracing-for-pyo3-logging |
| lib.rs | tracing-for-pyo3-logging |
| version | 0.0.5 |
| created_at | 2022-03-07 05:02:21.639266+00 |
| updated_at | 2025-07-01 21:55:54.895843+00 |
| description | Enables `tracing` for pyo3-based embedded Python applications using Python's `logging` module. |
| homepage | |
| repository | https://github.com/danielschemmel/tracing-for-pyo3-logging/ |
| max_upload_size | |
| id | 544824 |
| size | 15,195 |
Enables tracing for pyo3-based embedded Python applications using Python's logging module.
Run setup_logging before using logging for the first time:
Python::with_gil(|py| {
// Extend the `logging` module to interact with tracing
tracing_for_pyo3_logging::setup_logging(py)
})?;
Enable the log feature if the host uses a log based logger instead.