severe method
Logs a severe error message.
message is the log message.
scope is the scope or context of the log.
exception is the associated exception.
stackTrace is the associated stack trace.
Implementation
void severe(
String message,
String scope,
Exception? exception,
StackTrace? stackTrace,
) {
log(Level.SEVERE, message, scope, exception, stackTrace, formatter);
}