public ContentPreviewerFactoryBuilder maxLength(int maxLength) {
        checkArgument(maxLength > 0, "maxLength : %s (expected: > 0)", maxLength);
        this.maxLength = maxLength;
        return this;
    }
Sets the maximum length of the produced preview.
If not set, {@value DEFAULT_MAX_LENGTH} is used by default.
core/src/main/java/com/linecorp/armeria/common/logging/ContentPreviewerFactoryBuilder.java