default void logTemplate(
            Severity severity,
            Location location,
            String elementId,
            String messageTemplate,
            Throwable e,
            Object... messageArgs) {
        if (messageArgs == null || messageArgs.length == 0) {
            log(severity, location, elementId, messageTemplate, e);
        } else {
            log(severity, location, elementId, LogUtil.message(messageTemplate, messageArgs), e);
        }
    }
An interface to deal with all error reporting and handling during processing.
stroom-pipeline/src/main/java/stroom/pipeline/errorhandler/ErrorReceiver.java