Registry / logging / pyo3-log

pyo3-log

JSON →
library0.13.3rscratesunverified

Logging bridge from pyo3 native extension to Python logging.

# Cargo.toml [dependencies] pyo3-log = "0.13.3"
INSTALL
IMPORT
SIG · PYO3-LOG
P
pyo3-log
loggingrustv0.13.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Logger
use pyo3_log::Logger;

Minimal example importing the Logger type from pyo3-log.

use pyo3_log::Logger; fn main() { // Logger is used to bridge Rust log messages to Python's logging system. println!("Logger type imported"); }
Debug
Known issues
gotchaRequires Python interpreter initialization before use.
fix
Ensure pyo3 is initialized (e.g., with `pyo3::prepare_freethreaded_python()`) before using pyo3_log.
affects: >=0.1.0
Upgrade
Version history
0.13.3latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
38 hits · last 30 days
node
36
Resources