code: public JSONObject getLogs(int offset, int length, RequestOptions requestOptions) throws AlgoliaException {
      return getLogs(offset, length, LogType.LOG_ALL, requestOptions);
    }
docs: Return last logs entries.
  
  @param offset         Specify the first entry to retrieve (0-based, 0 is the most recent log entry).
  @param length         Specify the maximum number of entries to retrieve starting at offset. Maximum allowed value: 1000.
  @param requestOptions Options to pass to this request