@Deprecated
    public LoggingDecoratorBuilder requestTrailersSanitizer(
            BiFunction<? super RequestContext, ? super HttpHeaders,
                    ? extends @Nullable Object> requestTrailersSanitizer) {
        requireNonNull(requestTrailersSanitizer, "requestTrailersSanitizer");
        maybeCreateLogFormatterBuilder().requestTrailersSanitizer(
                convertToStringSanitizer(requestTrailersSanitizer));
        return this;
    }
Sets the {@link BiFunction} to use to sanitize request trailers before logging. If unset,
will not sanitize request trailers.

@throws IllegalStateException If both the log sanitizers and the {@link LogFormatter} are specified.
@deprecated Use {@link LogFormatter} to set the sanitizer.
core/src/main/java/com/linecorp/armeria/common/logging/LoggingDecoratorBuilder.java