logError method
Implementation
void logError(String tag, Object error, [StackTrace? stackTrace]) {
if (isShowLog) {
print('$tag: $error');
if (stackTrace != null) {
print(stackTrace);
}
}
}
void logError(String tag, Object error, [StackTrace? stackTrace]) {
if (isShowLog) {
print('$tag: $error');
if (stackTrace != null) {
print(stackTrace);
}
}
}