Logs an error to Datadog
@override Future<void> error(LogEntry entry) async { await _logToDatadog(entry); }