logError method
Implementation
@override
void logError(String tag, dynamic error, [StackTrace? stackTrace]) {
print('===[${LogLevel.error.value}] [$tag]===');
print('Error: $error');
if (stackTrace != null) {
print('StackTrace:');
print(stackTrace);
}
print('===========================');
}