pub fn setup_with_exporter(config: TracingConfig, exporter: Box<dyn Exporter>)Expand description
Like setup, but takes the exporter directly instead of building one
from TracingConfig::exporter. Lets you wire in any Exporter —
including CapturingExporter — through the same code path production
code uses, rather than only ExporterConfig’s three built-in choices.
Calling this (or setup) more than once is a no-op (the first call wins).