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 | Field and Description |
---|---|
private ContextSelector |
Log4jContextFactory.selector |
Modifier and Type | Method and Description |
---|---|
private static ContextSelector |
Log4jContextFactory.createContextSelector() |
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.
|
Modifier and Type | Field and Description |
---|---|
private ContextSelector |
ContextSelectorAdmin.selector |
Modifier and Type | Method and Description |
---|---|
private static ContextSelector |
Server.getContextSelector()
Returns the
ContextSelector of the current Log4jContextFactory . |
Modifier and Type | Method and Description |
---|---|
private static void |
Server.registerContextSelector(java.lang.String contextName,
ContextSelector selector,
javax.management.MBeanServer mbs,
java.util.concurrent.Executor executor) |
Constructor and Description |
---|
ContextSelectorAdmin(java.lang.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.
|