#tracing #abstraction #tracing-subscriber #logging-tracing #projects #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

#61 in #tracing-subscriber

49 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

~25–35MB
~621K SLoC