error method
Implementation
void error(String message, [StackTrace? stackTrace]) {
_printLog(message, LogLevel.error);
if (stackTrace != null) _printStackTrace(stackTrace);
}
void error(String message, [StackTrace? stackTrace]) {
_printLog(message, LogLevel.error);
if (stackTrace != null) _printStackTrace(stackTrace);
}