trace static method

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

trace

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