public ContentPreviewerFactoryBuilder text(
            BiPredicate<? super RequestContext, ? super HttpHeaders> predicate) {
        requireNonNull(predicate, "predicate");
        previewSpecsBuilder.add(new PreviewSpec(predicate, PreviewMode.TEXT, null));
        return this;
    }
Sets the specified {@link BiPredicate} to produce the text preview when the predicate
returns {@code true}.
core/src/main/java/com/linecorp/armeria/common/logging/ContentPreviewerFactoryBuilder.java