com.opensymphony.xwork2.util.logging.log4j2
Class Log4j2LoggerFactory
java.lang.Object
com.opensymphony.xwork2.util.logging.LoggerFactory
com.opensymphony.xwork2.util.logging.log4j2.Log4j2LoggerFactory
public class Log4j2LoggerFactory
- extends LoggerFactory
Creates log4j2-logging-backed loggers
You can use the same to explicit tell the framework which implementation to use and don't depend on class discovery:
-Dxwork.loggerFactory=com.opensymphony.xwork2.util.logging.log4j2.Log4j2LoggerFactory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Log4j2LoggerFactory
public Log4j2LoggerFactory()
getLoggerImpl
protected Logger getLoggerImpl(Class<?> cls)
- Specified by:
getLoggerImpl
in class LoggerFactory
getLoggerImpl
protected Logger getLoggerImpl(String name)
- Specified by:
getLoggerImpl
in class LoggerFactory
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.