pub fn accumulating_layer_with_spans(
log: Arc<RwLock<Vec<OwnedEventWithSpans>>>,
) -> CallbackLayerWithSpan
Expand description
Returns a layer that accumulates OwnedEvent
and parent spans into a
shared vector. This can be useful for testing and achives something similar
to what the tracing_test crate does but without the extra function injections.