Package | Description |
---|---|
org.apache.logging.log4j.core.async |
Provides Asynchronous Logger classes and interfaces for low-latency logging.
|
org.apache.logging.log4j.core.impl |
Log4j 2 private implementation classes.
|
org.apache.logging.log4j.core.jmx |
Log4j 2 JMX support.
|
org.apache.logging.log4j.core.osgi |
Collection of OSGi-specific classes for bundles.
|
org.apache.logging.log4j.core.selector |
Log4j 2 Context Selectors.
|
Modifier and Type | Class and Description |
---|---|
class |
AsyncLoggerContextSelector
ContextSelector that manages AsyncLoggerContext instances. |
Modifier and Type | Method and Description |
---|---|
ContextSelector |
Log4jContextFactory.getSelector()
Returns the ContextSelector.
|
Constructor and Description |
---|
Log4jContextFactory(ContextSelector selector)
Initializes this factory's ContextSelector with the specified selector.
|
Log4jContextFactory(ContextSelector selector,
ShutdownCallbackRegistry shutdownCallbackRegistry)
Constructs a Log4jContextFactory using the provided ContextSelector and ShutdownRegistrationStrategy.
|
Constructor and Description |
---|
ContextSelectorAdmin(String contextName,
ContextSelector selector)
Constructs a new
ContextSelectorAdmin . |
Modifier and Type | Class and Description |
---|---|
class |
BundleContextSelector
ContextSelector for OSGi bundles.
|
Modifier and Type | Interface and Description |
---|---|
interface |
NamedContextSelector
ContextSelectors that have a name.
|
Modifier and Type | Class and Description |
---|---|
class |
BasicContextSelector
Returns either this Thread's context or the default LoggerContext.
|
class |
ClassLoaderContextSelector
This ContextSelector chooses a LoggerContext based upon the ClassLoader of the caller.
|
class |
JndiContextSelector
This class can be used to define a custom logger repository.
|
Copyright © 1999-2017. 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.