code: public Page<LogEntry> listLogEntriesAsync(String filter)
        throws ExecutionException, InterruptedException {
      // [START listLogEntriesAsync]
      Future<AsyncPage<LogEntry>> future =
          logging.listLogEntriesAsync(EntryListOption.filter(filter));
      // ...
      AsyncPage<LogEntry> entries = future.get();
      for (LogEntry entry : entries.iterateAll()) {
        // do something with the entry
      }
      // [END listLogEntriesAsync]
      return entries;
    }
docs: [VARIABLE "logName=projects/my_project_id/logs/my_log_name"]