public static void print(final Logger logger, final FilterableRequestSpecification requestSpec) {
        String uri = UrlDecoder.urlDecode(
                requestSpec.getURI(),
                Charset.forName(requestSpec.getConfig().getEncoderConfig().defaultQueryParameterCharset()),
                true
        );
        
        String logContent = RequestPrinter.print(
                requestSpec,
                requestSpec.getMethod(),
                uri,
                LogDetail.ALL,
                Collections.emptySet(),
                new PrintStream(FAKE_STREAM),
                true
        );
        logger.debug(logContent);
    }
log request spec details.
@param logger logger
@param requestSpec requestSpec
shenyu-e2e/shenyu-e2e-common/src/main/java/org/apache/shenyu/e2e/common/RequestLogConsumer.java