Function sentry_core::test::with_captured_events_options
source · [−]pub fn with_captured_events_options<F: FnOnce(), O: Into<ClientOptions>>(
f: F,
options: O
) -> Vec<Event<'static>>
Expand description
Runs some code with the default test hub with the given options and returns the captured events.