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

@see #requestPreviewSanitizer(BiFunction)
@see #responsePreviewSanitizer(BiFunction)
core/src/main/java/com/linecorp/armeria/client/logging/ContentPreviewingClientBuilder.java