org.apache.logging.log4j.core.async
Class AsyncLoggerContext
java.lang.Object
org.apache.logging.log4j.core.AbstractLifeCycle
org.apache.logging.log4j.core.LoggerContext
org.apache.logging.log4j.core.async.AsyncLoggerContext
- All Implemented Interfaces:
- Serializable, ConfigurationListener, LifeCycle, org.apache.logging.log4j.spi.LoggerContext
public class AsyncLoggerContext
- extends LoggerContext
LoggerContext that creates AsyncLogger objects.
- See Also:
- Serialized Form
| Methods inherited from class org.apache.logging.log4j.core.LoggerContext |
addFilter, addPropertyChangeListener, getConfigLocation, getConfiguration, getExternalContext, getLogger, getLogger, getLoggers, getName, hasLogger, onChange, reconfigure, removeFilter, removePropertyChangeListener, setConfigLocation, setExternalContext, start, start, updateLoggers, updateLoggers |
| Methods inherited from class org.apache.logging.log4j.core.AbstractLifeCycle |
equalsImpl, getState, hashCodeImpl, isInitialized, isStarted, isStarting, isStopped, isStopping, setStarted, setStarting, setState, setStopped, setStopping |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AsyncLoggerContext
public AsyncLoggerContext(String name)
AsyncLoggerContext
public AsyncLoggerContext(String name,
Object externalContext)
AsyncLoggerContext
public AsyncLoggerContext(String name,
Object externalContext,
URI configLocn)
AsyncLoggerContext
public AsyncLoggerContext(String name,
Object externalContext,
String configLocn)
newInstance
protected Logger newInstance(LoggerContext ctx,
String name,
org.apache.logging.log4j.message.MessageFactory messageFactory)
- Overrides:
newInstance in class LoggerContext
stop
public void stop()
- Specified by:
stop in interface LifeCycle- Overrides:
stop in class LoggerContext
Copyright © 1999-2015 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.