public class AsyncLoggerContext extends LoggerContext
LoggerContext
that creates AsyncLogger
objects.LoggerContext.Status
PROPERTY_CONFIG
Constructor and Description |
---|
AsyncLoggerContext(String name) |
AsyncLoggerContext(String name,
Object externalContext) |
AsyncLoggerContext(String name,
Object externalContext,
String configLocn) |
AsyncLoggerContext(String name,
Object externalContext,
URI configLocn) |
Modifier and Type | Method and Description |
---|---|
protected Logger |
newInstance(LoggerContext ctx,
String name,
org.apache.logging.log4j.message.MessageFactory messageFactory) |
void |
stop() |
addFilter, addPropertyChangeListener, getConfigLocation, getConfiguration, getExternalContext, getLogger, getLogger, getName, getStatus, hasLogger, isStarted, onChange, reconfigure, removeFilter, removePropertyChangeListener, setConfigLocation, setExternalContext, start, start, updateLoggers, updateLoggers
public AsyncLoggerContext(String name)
public AsyncLoggerContext(String name, Object externalContext)
public AsyncLoggerContext(String name, Object externalContext, URI configLocn)
public AsyncLoggerContext(String name, Object externalContext, String configLocn)
protected Logger newInstance(LoggerContext ctx, String name, org.apache.logging.log4j.message.MessageFactory messageFactory)
newInstance
in class LoggerContext
public void stop()
stop
in interface LifeCycle
stop
in class LoggerContext
Copyright © 1999-2014 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.