code: public static void log(final HttpServletRequest httpServletRequest, final Level level, final Logger logger) {
          if (!logger.isLoggable(level)) {
              return;
          }
  
          logger.log(level, getLog(httpServletRequest));
      }
docs: Logs the specified request with the specified level and logger.
  <p>
  Logging information of the specified request includes:
  <ul>
  <li>method</li>
  <li>URL</li>
  <li>content type</li>
  <li>character encoding</li>
  <li>local (address, port, name)</li>
  <li>remote (address, port, host)</li>
  <li>headers</li>
  </ul>
  
  @param httpServletRequest the specified HTTP servlet request
  @param level              the specified logging level
  @param logger             the specified logger