code: public void enableRequestResponseLogging(Logger logger, Level level, int maxEntitySize) {
          enableRequestResponseLogging(logger, level, maxEntitySize, MaskingLoggingFilter.DEFAULT_MASKED_HEADER_NAMES);
      }
docs: Enable the logging of the requests to and the responses from the GitLab server API using the
  specified logger. Logging will mask PRIVATE-TOKEN and Authorization headers.
  
  @param logger the Logger instance to log to
  @param level the logging level (SEVERE, WARNING, INFO, CONFIG, FINE, FINER, FINEST)
  @param maxEntitySize maximum number of entity bytes to be logged.  When logging if the maxEntitySize
  is reached, the entity logging  will be truncated at maxEntitySize and "...more..." will be added at
  the end of the log entry. If maxEntitySize is &lt;= 0, entity logging will be disabled