tree-logger 0.1.0

Simple yet feature-full logging and profile tool
Documentation

tree-logger

Log and profile nested code. Supports multi-threading.

Basic usage

use tree_logger::TreeLogger;

TreeLogger::new()
    .with_colors(true)
    .with_threads(true)
    .init()
    .unwrap();
log::warn!("This is an example message.");

Output example

output example

Caveats

Not much time has been put into making this as performant as it could be (yet!). It's a simple solution that makes a reasonable set of assumptions. If you think you could do better you're probably right :)