captureEvent

suspend fun captureEvent(event: SentryEvent, body: suspend SentryScopeCapture.() -> Unit = {}): SentryId?

Capture a SentryEvent, submitting it to Sentry with the breadcrumbs in this context.