| Crates.io | jonases-tracing-util |
| lib.rs | jonases-tracing-util |
| version | 0.2.0 |
| created_at | 2021-04-10 12:11:07.370903+00 |
| updated_at | 2021-09-02 15:26:10.043128+00 |
| description | Abstractions over tracing and tracing_subscriber Jonas uses throughout his (mostly actix-web) projects |
| homepage | https://github.com/jofas/jonases_tracing_util |
| repository | https://github.com/jofas/jonases_tracing_util |
| max_upload_size | |
| id | 381674 |
| size | 7,776 |
Small library containing some helpful methods I frequently use
throughout my rust/tokio/actix projects, when it comes to logging.
Based on the tracing <https://github.com/tokio-rs/tracing>_ and
tracing-subscriber <https://github.com/tokio-rs/tracing>_ libraries.
NOTE: the library depends on the RUST_LOG environment
variable. Make sure that you enable logging for this crate, e.g.:
.. code:: bash
RUST_LOG=jonases_tracing_util=info cargo run
functions to macros too (then module is not a problem anymore)
documentation