pub fn get_subscriber(
name: String,
env_filter: String,
sink: impl MakeWriter + Send + Sync + 'static,
endpoint_url: &str,
) -> impl Subscriber + Sync + SendExpand description
Compose multiple layers into a tracing’s subscriber.
§Implementation Notes
We are using impl Subscriber as return type to avoid having to spell out the actual
type of the returned subscriber, which is indeed quite complex.