fatal static method

void fatal({
  1. String? className,
  2. String? methodName,
  3. required String text,
  4. dynamic exception,
  5. String? dataLogType,
  6. StackTrace? stacktrace,
})

fatal

Logs 'String' data along with class & function name to hourly based file with formatted timestamps.

@param className the class name @param methodName the method name @param text the text

Implementation

static void fatal({
  String? className,
  String? methodName,
  required String text,
  dynamic exception,
  String? dataLogType,
  StackTrace? stacktrace,
}) async {
  _logThis(className, methodName, text, LogLevel.FATAL, exception,
      dataLogType, stacktrace);
}