traceon 0.4.0

An easy to use log and tracing formatter with a flattened json or pretty output.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use tracing::info;

fn main() {
    traceon::builder().on();
    let vector = vec![10, 15, 20];
    info!(?vector, "Wow this works ok: {vector:#?}");
    // tracing::event!(
    //     Level::WARN,
    //     message = "add message field, and debug a vector",
    //     ?vector,
    // );
}