ari-subscriber 0.0.2

Async Executor Instrumentation Observability Utility A tracing subscriber layer that outputs Tokio's tracing instrumentation to the terminal in a format conducive to debugging.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use tracing_subscriber::prelude::*;

use ari_subscriber::Layer;

fn main() {
    let layer = Layer::new();

    tracing_subscriber::registry().with(layer).init();

    tracing::trace!("This is way too verbose");
    tracing::debug!(field = "value", "my message");
    tracing::info!("a message");
    tracing::warn!("warn me!");
    tracing::error!(field = "only one");
}