tracing-for-pyo3-logging 0.0.5

Enables `tracing` for pyo3-based embedded Python applications using Python's `logging` module.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# 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:
```rust
Python::with_gil(|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.