fatal static method

LogError fatal(
  1. String category,
  2. String message, {
  3. String? environment,
})

Logs a fatal message.

  • category: The category of the log.
  • message: The message to log.
  • environment: Optional environment context.

Returns: A LogError indicating success or failure.

Implementation

static LogError fatal(String category, String message,
        {String? environment}) =>
    log(category, message,
        environment: environment ?? '', level: LogLevel.fatal);