setSeverity

open fun setSeverity(@NonNull severity: Severity)

The severity of the event. By default, unhandled exceptions will be ERROR and handled exceptions sent with notifyWARNING.