severe method

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

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

@override
void severe(
  String message,
  String scope,
  Exception? exception,
  StackTrace? stackTrace,
) {
  for (final logger in loggers) {
    logger.severe(message, scope, exception, stackTrace);
  }
}