Fix links in `logging.md`
This commit is contained in:
parent
6da1fc7191
commit
c722402e46
|
@ -60,6 +60,7 @@ possible to satisfy, read the documentation about [caching].
|
|||
To have python logs be handled by Rust, one need only register a rust function to handle logs emitted from the core python logging module.
|
||||
|
||||
This has been implemented within the [pyo3-pylogger] crate.
|
||||
|
||||
```rust
|
||||
use log::{info, warn};
|
||||
use pyo3::prelude::*;
|
||||
|
@ -88,7 +89,7 @@ logging.error('Something bad happened')
|
|||
)
|
||||
})
|
||||
}
|
||||
|
||||
```
|
||||
|
||||
[logging]: https://docs.python.org/3/library/logging.html
|
||||
[pyo3-log]: https://crates.io/crates/pyo3-log
|
||||
|
|
Loading…
Reference in New Issue