Function tracing::source ·
pub fn set_default<S>(subscriber: S) -> DefaultGuardwhere S: Subscriber + Send + Sync + 'static,
Sets the subscriber as the default for the duration of the lifetime of the
The default subscriber is used when creating a new
Event, if no span is currently executing. If a span is currently
executing, new spans or events are dispatched to the subscriber that
tagged that span, instead.