Crates.io | tracing-tree |
lib.rs | tracing-tree |
version | 0.4.1 |
created_at | 2020-06-22 15:59:03.059905+00 |
updated_at | 2025-09-23 07:34:16.976605+00 |
description | A Tracing Layer which prints a tree of spans and events. |
homepage | |
repository | https://github.com/davidbarsky/tracing-tree |
max_upload_size | |
id | 256779 |
size | 146,498 |
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)
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();