private void append(final StringBuilder sb) {
            if (elementId != null) {
                sb.append(elementId);
                sb.append(SPACE);
            }
            if (location != null) {
                sb.append(OPEN_BRACKET);
                sb.append(location);
                sb.append(CLOSE_BRACKET);
            }
            if (severity != null) {
                sb.append(severity.getDisplayValue());
                sb.append(COLON);
                sb.append(SPACE);
            }
            NullSafe.consume(getMessage(), sb::append);
        }
Log a message using a template with lazily provided template arguments.
SLF style templating.
stroom-pipeline/src/main/java/stroom/pipeline/refdata/ReferenceDataResult.java