fatal method

void fatal(
  1. String message, {
  2. Object? error,
  3. StackTrace? stackTrace,
  4. Map<String, Object?>? context,
  5. bool printStackTrace = true,
  6. bool printError = true,
})

Logs a message with LogLevel.fatal.

Implementation

void fatal(
  String message, {
  Object? error,
  StackTrace? stackTrace,
  Map<String, Object?>? context,
  bool printStackTrace = true,
  bool printError = true,
}) =>
    log(
      message,
      level: LogLevel.fatal,
      error: error,
      stackTrace: stackTrace,
      context: context,
      printStackTrace: printStackTrace,
      printError: printError,
    );