init

fun init(callback: (SentryOptions) -> Unit)

Set up Sentry and enable Sentry integration.

This function takes a lambda that matches Sentry's, albeit using a receiver function instead for brevity. Please see the Sentry documentation for information on how to configure it.