@Nullable
    @Deprecated
    protected final BiFunction<? super RequestContext, ? super HttpHeaders, ? extends @Nullable Object>
    responseHeadersSanitizer() {
        if (logFormatterBuilder != null) {
            return logFormatterBuilder.responseHeadersSanitizer();
        }
        return null;
    }
Returns the {@link BiFunction} to use to sanitize response headers before logging.

@deprecated Deprecated for removal in the next major version.
core/src/main/java/com/linecorp/armeria/common/logging/LoggingDecoratorBuilder.java