Function holochain::prelude::dependencies::kitsune_p2p_types::dependencies::ghost_actor::dependencies::observability::tracing::subscriber::set_default
source · pub fn set_default<S>(subscriber: S) -> DefaultGuardwhere
S: 'static + Subscriber + Send + Sync,
Expand description
Sets the Subscriber
as the default for the current thread for the
duration of the lifetime of the returned DefaultGuard
.
The default subscriber is used when creating a new Span
or Event
.