Function tracing_android::layer
source · [−]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_android::layer("com.example").unwrap())
}