pub fn build_chrome_trace_layer_with_exporter<W>(
log_name: &str,
writer: W,
) -> (impl Subscriber + Send + Sync, ChromeTraceGuard)Expand description
Builds a Chrome trace layer and guard.
Returns a subscriber and guard. The subscriber should be used with with_default
to avoid global state conflicts.