pub fn install(level: &str) -> (Option<PrometheusHandle>, LogHub)Available on crate feature
serve only.Expand description
Install the recorder + tracing subscriber. Returns the Prometheus render
handle (when this call installed the recorder; None if one was already
present) and the process-global LogHub wired into the subscriber’s
RunLogLayer.