🛈 Note: This is pre-release documentation for the upcoming tracing 0.2.0 ecosystem.

For the release documentation, please see docs.rs, instead.

tracing_subscriber

Function registry

Source
pub fn registry() -> Registry
Available on crate features registry and std only.
Expand description

Creates a default Registry, a Collect implementation which tracks per-span data and exposes it to Subscribes.

Returns a default Registry.