@Deprecated
    public LoggingDecoratorBuilder responseHeadersSanitizer(
            BiFunction<? super RequestContext, ? super HttpHeaders,
                    ? extends @Nullable Object> responseHeadersSanitizer) {
        requireNonNull(responseHeadersSanitizer, "responseHeadersSanitizer");
        maybeCreateLogFormatterBuilder().responseHeadersSanitizer(
                convertToStringSanitizer(responseHeadersSanitizer));
        return this;
    }
Sets the {@link BiFunction} to use to sanitize response headers before logging. It is common to have the
{@link BiFunction} that removes sensitive headers, like {@code Set-Cookie}, before logging. If unset,
will not sanitize response headers.

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