public LogFormatter build() {
        return new TextLogFormatter(
                firstNonNull(requestHeadersSanitizer(), HeadersSanitizer.ofText()),
                firstNonNull(responseHeadersSanitizer(), HeadersSanitizer.ofText()),
                firstNonNull(requestTrailersSanitizer(), defaultHeadersSanitizer()),
                firstNonNull(responseTrailersSanitizer(), defaultHeadersSanitizer()),
                firstNonNull(requestContentSanitizer(), defaultSanitizer()),
                firstNonNull(responseContentSanitizer(), defaultSanitizer()),
                includeContext);
    }
Returns a newly-created text {@link LogFormatter} based on the properties of this builder.
core/src/main/java/com/linecorp/armeria/common/logging/TextLogFormatterBuilder.java