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

#21 in Debugging

Download history 36943/week @ 2024-11-08 38604/week @ 2024-11-15 37142/week @ 2024-11-22 39334/week @ 2024-11-29 40752/week @ 2024-12-06 40329/week @ 2024-12-13 28922/week @ 2024-12-20 31306/week @ 2024-12-27 37072/week @ 2025-01-03 42868/week @ 2025-01-10 37890/week @ 2025-01-17 37562/week @ 2025-01-24 38219/week @ 2025-01-31 40827/week @ 2025-02-07 17968/week @ 2025-02-14

103,404 downloads per month
Used in 54 crates (47 directly)

MIT/Apache

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:

https://github.com/davidbarsky/tracing-tree/blob/483cc0a118c3170f4246d6fa4a9f018a00d8f0a9/examples/quiet.stdout#L1-L28

(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–8.5MB
~66K SLoC