Skip to content

Commit

Permalink
Update ownership; add lines to basic example.
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbarsky committed Jul 3, 2020
1 parent c3b14f8 commit 11b5c35
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "tracing-tree"
version = "0.1.1"
authors = ["David Barsky <me@davidbarsky.com>"]
version = "0.1.2"
authors = ["David Barsky <me@davidbarsky.com>", "Nathan Whitaker"]
edition = "2018"
license = "MIT OR Apache-2.0"
description = "a tracing layer that represents prints a heirarchal tree of spans and events."
Expand Down
2 changes: 1 addition & 1 deletion examples/basic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use tracing_subscriber::{layer::SubscriberExt, registry::Registry};
use tracing_tree::HierarchicalLayer;

fn main() {
let subscriber = Registry::default().with(HierarchicalLayer::new(2));
let subscriber = Registry::default().with(HierarchicalLayer::new(2).with_indent_lines(true));
tracing::subscriber::set_global_default(subscriber).unwrap();

let app_span = span!(Level::TRACE, "hierarchical-example", version = %0.1);
Expand Down

0 comments on commit 11b5c35

Please sign in to comment.