Package org.apache.logging.log4j.message

Examples of org.apache.logging.log4j.message.LocalizedMessage


    @Override
    public void vlogDebug(final Throwable throwable,
                          final ResourceBundle resourceBundle,
                          final String key,
                          final Object... args) {
        logger.debug(new LocalizedMessage(resourceBundle, key, args), throwable);
    }
View Full Code Here


        logger.debug(new LocalizedMessage(resourceBundle, key, args), throwable);
    }

    @Override
    public void vlogDebug(final ResourceBundle resourceBundle, final String key, final Object... args) {
        logger.debug(new LocalizedMessage(resourceBundle, key, args));
    }
View Full Code Here

    @Override
    public void vlogInfo(final Throwable throwable,
                         final ResourceBundle resourceBundle,
                         final String key,
                         final Object... args) {
        logger.info(new LocalizedMessage(resourceBundle, key, args), throwable);
    }
View Full Code Here

        logger.info(new LocalizedMessage(resourceBundle, key, args), throwable);
    }

    @Override
    public void vlogInfo(final ResourceBundle resourceBundle, final String key, final Object... args) {
        logger.info(new LocalizedMessage(resourceBundle, key, args));
    }
View Full Code Here

    @Override
    public void vlogWarning(final Throwable throwable,
                            final ResourceBundle resourceBundle,
                            final String key,
                            final Object... args) {
        logger.warn(new LocalizedMessage(resourceBundle, key, args), throwable);
    }
View Full Code Here

        logger.warn(new LocalizedMessage(resourceBundle, key, args), throwable);
    }

    @Override
    public void vlogWarning(final ResourceBundle resourceBundle, final String key, final Object... args) {
        logger.warn(new LocalizedMessage(resourceBundle, key, args));
    }
View Full Code Here

    @Override
    public void vlogError(final Throwable throwable,
                          final ResourceBundle resourceBundle,
                          final String key,
                          final Object... args) {
        logger.error(new LocalizedMessage(resourceBundle, key, args), throwable);
    }
View Full Code Here

        logger.error(new LocalizedMessage(resourceBundle, key, args), throwable);
    }

    @Override
    public void vlogError(final ResourceBundle resourceBundle, final String key, final Object... args) {
        logger.error(new LocalizedMessage(resourceBundle, key, args));
    }
View Full Code Here

        }
    }

    public void l7dlog(final Priority priority, final String key, final Throwable t) {
        if (isEnabledFor(priority)) {
            final Message msg = new LocalizedMessage(bundle, key, null);
            forcedLog(FQCN, priority, msg, t);
        }
    }
View Full Code Here

        }
    }

    public void l7dlog(final Priority priority, final String key, final Object[] params, final Throwable t) {
        if (isEnabledFor(priority)) {
            final Message msg = new LocalizedMessage(bundle, key, params);
            forcedLog(FQCN, priority, msg, t);
        }
    }
View Full Code Here

TOP

Related Classes of org.apache.logging.log4j.message.LocalizedMessage

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.