@UnstableApi
    public LoggingDecoratorBuilder logWriter(LogWriter logWriter) {
        if (logWriterBuilder != null) {
            throw new IllegalStateException(
                    "The logWriter and the log properties cannot be set together.");
        }
        this.logWriter = requireNonNull(logWriter, "logWriter");
        return this;
    }
Sets the {@link LogWriter} which write a {@link RequestOnlyLog} or {@link RequestLog}.
By default {@link LogWriter#of()} will be used.

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