@Deprecated
    default String toStringRequestOnly(
            BiFunction<? super RequestContext, ? super HttpHeaders,
                    ? extends @Nullable Object> headersSanitizer,
            BiFunction<? super RequestContext, Object,
                    ? extends @Nullable Object> contentSanitizer) {
        return toStringRequestOnly(headersSanitizer, contentSanitizer, headersSanitizer);
    }
Returns the string representation of the {@link Request}. This method is a shortcut for:
<pre>{@code
toStringRequestOnly(headersSanitizer, contentSanitizer, headersSanitizer);
}</pre>

@param headersSanitizer a {@link BiFunction} for sanitizing HTTP headers for logging. The result of
                        the {@link BiFunction} is what is actually logged as headers.
@param contentSanitizer a {@link BiFunction} for sanitizing request content for logging. The result of
                        the {@link BiFunction} is what is actually logged as content.
@deprecated Use {@link LogFormatter#formatRequest(RequestOnlyLog)} instead.
core/src/main/java/com/linecorp/armeria/common/logging/RequestOnlyLog.java