severe method

void severe(
  1. String message,
  2. String scope,
  3. Exception? exception,
  4. StackTrace? stackTrace,
)

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);
}