get_subscriber_test

Function get_subscriber_test 

Source
pub fn get_subscriber_test(
    name: String,
    env_filter: String,
    sink: impl MakeWriter + Send + Sync + 'static,
) -> impl Subscriber + Sync + Send
Expand description

Creates a subscriber that dumps traces into a sink. Used for automated testing.