Package org.jboss.logging

Examples of org.jboss.logging.Logger.log()


          public void log(SessionLogEntry sessionLogEntry) {
                    Logger logger = getLoggerForCategory(sessionLogEntry.getNameSpace());
                    Level level = convertLevelIntToEnum(sessionLogEntry.getLevel());
                    String message = formatMessage(sessionLogEntry);

                    logger.log(level, message);
          }

          @Override
          public boolean shouldLog(int level, String category) {
                    return getLoggerForCategory(category).isEnabled(convertLevelIntToEnum(level));
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.