init_subscribers

Function init_subscribers 

Source
pub fn init_subscribers() -> Result<OtelGuard, Error>
👎Deprecated since 0.31.0: Use TracingConfig::production()... instead
Available on crate feature tracing_subscriber_ext only.
Expand description

Initialize subscribers with default configuration

This is a convenience function that uses production-ready defaults. For more control, use TracingConfig::production().init_subscriber().