Function tracing_android::layer [−][src]
pub fn layer(tag: &str) -> Result<Layer>
Expand description
Constructs a [layer::Layer
] with the given tag
.
// add the layer to an existing subscriber let subscriber = { use tracing_subscriber::layer::SubscriberExt; subscriber.with(tracing_win_event_log::layer("com.example").unwrap()) }