severeWithContext method

void severeWithContext(
  1. String message,
  2. Map? context, [
  3. Object? error,
  4. StackTrace? stackTrace,
])

Implementation

void severeWithContext(String message, Map? context,
        [Object? error, StackTrace? stackTrace]) =>
    log(
      Level.SEVERE,
      LogRecord(
        Level.SEVERE,
        message,
        fullName,
        error,
        stackTrace,
        Zone.current,
        context,
      ),
    );