severe static method

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

severe

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 severe({
  String? className,
  String? methodName,
  required String text,
  dynamic exception,
  String? dataLogType,
  StackTrace? stacktrace,
}) async {
  _logThis(className, methodName, text, LogLevel.SEVERE, exception,
      dataLogType, stacktrace);
}