code: public static <R extends ActionRequestBuilder> R logRequestQuery(
              String method,
              R requestBuilder, Object... params) {
          if (params == null)
              JMLog.debug(log, method, requestBuilder);
          else
              JMLog.debug(log, method, Arrays.asList(params), requestBuilder);
          return requestBuilder;
      }
docs: Log request query r.
  
  @param <R>            the type parameter
  @param method         the method
  @param requestBuilder the request builder
  @param params         the params
  @return the r