public void append(final StringBuilder sb) {
        if (messages != null) {
            messages.stream()
                    .filter(Objects::nonNull)
                    .forEach(message -> {
                        sb.append(message);
                        sb.append("\n");
                    });
        }
    }
Log a message using a template with lazily provided template arguments.
SLF style templating.
stroom-pipeline/src/main/java/stroom/pipeline/refdata/ReferenceDataResult.java