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