Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

Nested Class Summary

Nested classes/interfaces inherited from interface org.apache.logging.log4j.core.LifeCycle
`LifeCycle.State`

Field Summary

Fields inherited from class org.apache.logging.log4j.core.LoggerContext
`PROPERTY_CONFIG`

Fields inherited from class org.apache.logging.log4j.core.AbstractLifeCycle
`LOGGER`

Constructor Summary
`AsyncLoggerContext(String name)`
`AsyncLoggerContext(String name, Object externalContext)`
`AsyncLoggerContext(String name, Object externalContext, String configLocn)`
`AsyncLoggerContext(String name, Object externalContext, URI configLocn)`

Method Summary
`protected Logger` | `newInstance(LoggerContext ctx, String name, org.apache.logging.log4j.message.MessageFactory messageFactory)`
`void` | `stop()`

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`

Constructor Detail

### 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)

Method Detail

### 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`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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.