21 releases
0.4.0 | Jul 12, 2024 |
---|---|
0.3.0 | Nov 15, 2023 |
0.2.4 | Jul 5, 2023 |
0.2.2 | Nov 11, 2022 |
0.1.4 | Jul 13, 2020 |
#41 in Debugging
151,748 downloads per month
Used in 45 crates
(39 directly)
46KB
1K
SLoC
tracing-tree
Instrument your application with tracing and get tree-structured summaries of your application activity with timing information on the console:
(Format inspired by slog-term)
Setup
After instrumenting your app with tracing, add this subscriber like this:
let subscriber = Registry::default().with(HierarchicalLayer::new(2));
tracing::subscriber::set_global_default(subscriber).unwrap();
Dependencies
~1.3–8MB
~64K SLoC