pub fn layer() -> Layer
Creates a new Layer.
Layer
See the Layer documentation for details on customization.
use tracing_subscriber::prelude::*; let layer = ari_subscriber::layer(); tracing_subscriber::registry().with(layer).init(); // Will be printed by `ari_subscriber` tracing::info!("nice!");