@Deprecated
    public LoggingDecoratorBuilder contentSanitizer(
            BiFunction<? super RequestContext, Object, ? extends @Nullable Object> contentSanitizer) {
        requireNonNull(contentSanitizer, "contentSanitizer");
        requestContentSanitizer(contentSanitizer);
        responseContentSanitizer(contentSanitizer);
        return this;
    }
Sets the {@link BiFunction} to use to sanitize request and response content before logging. It is common
to have the {@link BiFunction} that removes sensitive content, such as an GPS location query and
an address, before logging. If unset, will not sanitize content.
This method is a shortcut for:
<pre>{@code
builder.requestContentSanitizer(contentSanitizer);
builder.responseContentSanitizer(contentSanitizer);
}</pre>

@throws IllegalStateException If both the log sanitizers and the {@link LogFormatter} are specified.
@see #requestContentSanitizer(BiFunction)
@see #responseContentSanitizer(BiFunction)
@deprecated Use {@link LogFormatter} to set the sanitizer.
core/src/main/java/com/linecorp/armeria/common/logging/LoggingDecoratorBuilder.java