Skip to main content

init_test_subscriber

Function init_test_subscriber 

Source
pub fn init_test_subscriber() -> DefaultGuard
Expand description

Install a test subscriber with an ErrorLayer so span traces are captured for the duration of the returned guard.