private static Object[] convertMessageArgs(final Supplier<List<Object>> messageArgsSupplier) {
            final List<Object> argsList = NullSafe.getOrElseGet(
                    messageArgsSupplier,
                    Supplier::get,
                    Collections::emptyList);
            return argsList != null
                    ? argsList.toArray(new Object[0])
                    : null;
        }
Log a message using a template with lazily provided template arguments.
SLF style templating.
stroom-pipeline/src/main/java/stroom/pipeline/refdata/ReferenceDataResult.java