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.0 private implementation classes.
|
org.apache.logging.log4j.core.jmx |
Log4j 2.0 JMX support.
|
org.apache.logging.log4j.core.selector |
Log4j 2.0 Context Selectors.
|
Modifier and Type | Class and Description |
---|---|
class |
AsyncLoggerContextSelector
ContextSelector that returns the singleton AsyncLoggerContext . |
Modifier and Type | Method and Description |
---|---|
ContextSelector |
Log4jContextFactory.getSelector()
Returns the ContextSelector.
|
Modifier and Type | Method and Description |
---|---|
static void |
Server.registerMBeans(ContextSelector selector)
Creates MBeans to instrument the specified selector and other classes in
the log4j class hierarchy and registers the MBeans in the platform MBean
server so they can be accessed by remote clients.
|
static void |
Server.registerMBeans(ContextSelector selector,
MBeanServer mbs)
Creates MBeans to instrument the specified selector and other classes in
the log4j class hierarchy and registers the MBeans in the specified MBean
server so they can be accessed by remote clients.
|
Constructor and Description |
---|
ContextSelectorAdmin(ContextSelector selector)
Constructs a new
ContextSelectorAdmin . |
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-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.