public LogWriterBuilder logFormatter(LogFormatter logFormatter) {
        this.logFormatter = requireNonNull(logFormatter, "logFormatter");
        return this;
    }
Sets the {@link LogFormatter} which converts a {@link RequestOnlyLog} or {@link RequestLog}
into a log message. By default {@link LogFormatter#ofText()} will be used.

@throws IllegalStateException If both the log sanitizers and the {@link LogFormatter} are specified.
core/src/main/java/com/linecorp/armeria/common/logging/LogWriterBuilder.java