Skip to content

Releases: davidbarsky/tracing-tree

tracing-tree 0.1.5

09 Aug 16:23
Compare
Choose a tag to compare

New features:

  • Allow rendering the event/span target (#11)
  • Show thread ids and names (#12)
  • Support wrapping back to no indentation after a specific number of indentation levels (#15)

Thanks for your contributions, @oli-obk!

Crates.io: https://crates.io/crates/tracing-tree/0.1.5.

tracing-tree 0.1.4

13 Jul 21:37
Compare
Choose a tag to compare

Fixes

  • removed Quanta as a dependency, as quanta breaks rust-analyzer's build on 32-bit platforms.

Crates.io: https://crates.io/crates/tracing-tree/0.1.4.

tracing-tree 0.1.3

11 Jul 21:25
5081bf0
Compare
Choose a tag to compare

Hello! Here are a few changes to tracing-tree-0.1.3. The latest release is available on crates.io.

  • Added a tracing_subscriber::fmt::MakeWriter parameter to HierarchicalLayer, which enables customization of the destination of the printed output. Note that ansi handling isn't handled automatically with a MakeWriter. A non-stdout, non-stderr destination might require the user to disable ansi through HierarchicalLayer::with_ansi themselves.
  • Re-organized lib.rs. There is now a dedicated format module that handles most of the pretty-printing.
  • Added a Fibonacci number printing example that demonstrates how to use MakeWriter.
  • Reduce the number of required features of the tracing-subscriber dependency.

I expect we'll cut a breaking release of tracing-tree in a few weeks. This breaking change is necessary to support a revised MakeWriter trait that addresses some shortcomings in the current MakeWriter API. Most users of tracing-tree should be unaffected.