Skip to main content

init

Function init 

Source
pub fn init(
    dsn: &str,
    service_name: &str,
    release: &str,
) -> Option<ClientInitGuard>
Expand description

Initializes Sentry if FELDERA_SENTRY_ENABLED is set, tagging the service and release.

Use dsn as the default DSN, which can be overridden by the SENTRY_DSN environment variable.