public SELF responseHeadersSanitizer(
            BiFunction<? super RequestContext, ? super HttpHeaders,
                    ? extends @Nullable T> responseHeadersSanitizer) {
        // TODO(ikhoon): Replace BiFunction with HeadersSanitizer in Armeria 2.0.
        requireNonNull(responseHeadersSanitizer, "responseHeadersSanitizer");
        this.responseHeadersSanitizer = responseHeadersSanitizer::apply;
        return self();
    }
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.

<pre>{@code
HeadersSanitizer<String> headersSanitizer =
  HeadersSanitizer
    .builderForText()
    .sensitiveHeaders("Set-Cookie")
    ...
    .build();

 LogFormatter
   .builderForText()
   .responseHeadersSanitizer(headersSanitizer)
   ...
}</pre>

@see HeadersSanitizer
core/src/main/java/com/linecorp/armeria/common/logging/AbstractLogFormatterBuilder.java