private boolean shouldLog(final Severity severity,
                              final boolean isTraceEnable,
                              final boolean isIgnoreWarnings) {

        return severity.greaterThan(Severity.WARNING)
               || (!isIgnoreWarnings && severity.equals(Severity.WARNING))
               || isTraceEnabled;
    }
Log a message using a template with lazily provided template arguments.
SLF style templating.
stroom-pipeline/src/main/java/stroom/pipeline/refdata/ReferenceDataResult.java