Skip to main content

init

Function init 

Source
pub fn init(cfg: TelemetryConfig) -> Option<TelemetryGuard>
Expand description

Install the global tracing subscriber. Idempotent: if another subscriber is already registered (e.g. an embedder set up its own), we silently return None and let the caller proceed.

RedDB embedders that want to own the subscriber should simply not call this.