Crates.io | tracing-tree |
lib.rs | tracing-tree |
version | 0.4.0 |
source | src |
created_at | 2020-06-22 15:59:03.059905 |
updated_at | 2024-07-12 09:51:45.440159 |
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 | 141,631 |
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();