code: public ServiceCall<LogQueryResponse> queryLog(QueryLogOptions queryLogOptions) {
      String[] pathSegments = { "v1/logs" };
      RequestBuilder builder = RequestBuilder.get(RequestBuilder.constructHttpUrl(getEndPoint(), pathSegments));
      builder.query("version", versionDate);
      Map<String, String> sdkHeaders = SdkCommon.getSdkHeaders("discovery", "v1", "queryLog");
      for (Entry<String, String> header : sdkHeaders.entrySet()) {
        builder.header(header.getKey(), header.getValue());
      }
      builder.header("Accept", "application/json");
      if (queryLogOptions != null) {
        if (queryLogOptions.filter() != null) {
          builder.query("filter", queryLogOptions.filter());
        }
        if (queryLogOptions.query() != null) {
          builder.query("query", queryLogOptions.query());
        }
        if (queryLogOptions.count() != null) {
          builder.query("count", String.valueOf(queryLogOptions.count()));
        }
        if (queryLogOptions.offset() != null) {
          builder.query("offset", String.valueOf(queryLogOptions.offset()));
        }
        if (queryLogOptions.sort() != null) {
          builder.query("sort", RequestUtils.join(queryLogOptions.sort(), ","));
        }
      }
      return createServiceCall(builder.build(), ResponseConverterUtils.getObject(LogQueryResponse.class));
    }
docs: Search the query and event log.
  
  Searches the query and event log to find query sessions that match the specified criteria. Searching the **logs**
  endpoint uses the standard Discovery query syntax for the parameters that are supported.
  
  @param queryLogOptions the {@link QueryLogOptions} containing the options for the call
  @return a {@link ServiceCall} with a response type of {@link LogQueryResponse}