tracing-tree 0.2.0

A Tracing Layer which prints a tree of spans and events.
Documentation

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