tree: 36aea9ad0dc8a19585cb9a239491cb42a87a3b80 [path history] [tgz]
  1. examples/
  2. src/
  3. tests/
  4. .cargo-checksum.json
  5. Cargo.lock
  6. Cargo.toml
  7. LICENSE-APACHE
  8. LICENSE-MIT
  9. README.md
vendor/tracing-tree/README.md

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();