public SELF requestTrailersSanitizer(
            BiFunction<? super RequestContext, ? super HttpHeaders,
                    ? extends @Nullable T> requestTrailersSanitizer) {
        // TODO(ikhoon): Replace BiFunction with HeadersSanitizer in Armeria 2.0.
        requireNonNull(requestTrailersSanitizer, "requestTrailersSanitizer");
        this.requestTrailersSanitizer = requestTrailersSanitizer::apply;
        return self();
    }
Sets the {@link BiFunction} to use to sanitize request trailers before logging. If unset,
will not sanitize request trailers.

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

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

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