code: public static void logRequest(
              Logger logger, RequestLog log, LogLevel requestLogLevel,
              Function<? super HttpHeaders, ? extends HttpHeaders> requestHeadersSanitizer,
              Function<Object, ?> requestContentSanitizer,
              Function<? super HttpHeaders, ? extends HttpHeaders> requestTrailersSanitizer) {
  
          if (requestLogLevel.isEnabled(logger)) {
              requestLogLevel.log(logger, REQUEST_FORMAT,
                                  log.toStringRequestOnly(requestHeadersSanitizer, requestContentSanitizer,
                                                          requestTrailersSanitizer));
          }
      }
docs: Logs a stringified request of {@link RequestLog}.