tracing-for-pyo3-logging

Crates.iotracing-for-pyo3-logging
lib.rstracing-for-pyo3-logging
version0.0.7
created_at2022-03-07 05:02:21.639266+00
updated_at2025-10-22 08:09:41.995273+00
descriptionEnables `tracing` for pyo3-based embedded Python applications using Python's `logging` module.
homepage
repositoryhttps://github.com/danielschemmel/tracing-for-pyo3-logging/
max_upload_size
id544824
size14,934
Daniel Schemmel (danielschemmel)

documentation

README

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.

Commit count: 16

cargo fmt