[−][src]Function sentry_core::test::with_captured_events
pub fn with_captured_events<F: FnOnce()>(f: F) -> Vec<Event<'static>>
Runs some code with the default test hub and returns the captured events.
pub fn with_captured_events<F: FnOnce()>(f: F) -> Vec<Event<'static>>
Runs some code with the default test hub and returns the captured events.