Function ari_subscriber::layer

source ·
pub fn layer() -> Layer
Expand description

Creates a new Layer.

See the Layer documentation for details on customization.

Examples

use tracing_subscriber::prelude::*;

let layer = ari_subscriber::layer();
tracing_subscriber::registry().with(layer).init();

// Will be printed by `ari_subscriber`
tracing::info!("nice!");