@Override
    public void error(Throwable error, String message, Object... args) {
        if (logger.isErrorEnabled()) {
            String formatted = ParameterizedMessage.format(message, args);
            logger.error(formatted, error);
        }
    }
Log4j2 logger wrapper.

@author Marc Savy {@literal <msavy@redhat.com>}
common/logging/log4j2/src/main/java/io/apiman/common/logging/log4j2/Log4j2LoggerImpl.java