code: void enableRequestResponseLogging(Logger logger, Level level, int maxEntityLength, List<String> maskedHeaderNames) {
  
          MaskingLoggingFilter loggingFilter = new MaskingLoggingFilter(logger, level, maxEntityLength, maskedHeaderNames);
          clientConfig.register(loggingFilter);
  
          // Recreate the Client instance if already created.
          if (apiClient != null) {
              createApiClient();
          }
      }
docs: Enable the logging of the requests to and the responses from the GitLab server API.
  
  @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 <= 0, entity logging will be disabled
  @param maskedHeaderNames a list of header names that should have the values masked