2852: Fix links in `logging.md` r=adamreichold a=messense

It's broken: https://pyo3.rs/main/ecosystem/logging

After: https://deploy-preview-2852--pyo3.netlify.app/main/ecosystem/logging

Co-authored-by: messense <messense@icloud.com>
This commit is contained in:
bors[bot] 2023-01-03 12:23:09 +00:00 committed by GitHub
commit 09470eb42c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 3 deletions

View File

@ -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