logError method
Implementation
void logError(String message,
{String? tag, Object? error, StackTrace? stackTrace, Zone? zone}) {
Logger(tag ?? 'TAG').log(Level.SEVERE, message, error, stackTrace, zone);
}
void logError(String message,
{String? tag, Object? error, StackTrace? stackTrace, Zone? zone}) {
Logger(tag ?? 'TAG').log(Level.SEVERE, message, error, stackTrace, zone);
}