jonases-tracing-util

Crates.iojonases-tracing-util
lib.rsjonases-tracing-util
version0.2.0
sourcesrc
created_at2021-04-10 12:11:07.370903
updated_at2021-09-02 15:26:10.043128
descriptionAbstractions over tracing and tracing_subscriber Jonas uses throughout his (mostly actix-web) projects
homepagehttps://github.com/jofas/jonases_tracing_util
repositoryhttps://github.com/jofas/jonases_tracing_util
max_upload_size
id381674
size7,776
Jonas Fassbender (jofas)

documentation

README

Jonas's Tracing Util

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

TODO

  • functions to macros too (then module is not a problem anymore)

  • documentation

Commit count: 29

cargo fmt