#projects #tracing #abstraction #tracing-subscriber #logging-tracing #actix-web #utils

jonases-tracing-util

Abstractions over tracing and tracing_subscriber Jonas uses throughout his (mostly actix-web) projects

2 unstable releases

0.2.0 Sep 2, 2021
0.1.0 Apr 10, 2021

#72 in #tracing-subscriber

21 downloads per month
Used in 2 crates

MIT license

6KB
104 lines

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 and tracing-subscriber libraries.

NOTE: the library depends on the RUST_LOG environment variable. Make sure that you enable logging for this crate, e.g.:

RUST_LOG=jonases_tracing_util=info cargo run

TODO

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

Dependencies

~37MB
~659K SLoC