| Package | Description |
|---|---|
| org.apache.logging.log4j |
Public API for Log4j 2.
|
| org.apache.logging.log4j.core.impl |
Log4j 2 private implementation classes.
|
| org.apache.logging.log4j.simple |
Simple logging implementation.
|
| org.apache.logging.log4j.spi |
Internal interfaces and classes to be used by authors of logging implementations or for internal use by
API classes.
|
| org.apache.logging.slf4j |
SLF4J support.
|
| Modifier and Type | Field and Description |
|---|---|
private static LoggerContextFactory |
LogManager.factory |
| Modifier and Type | Method and Description |
|---|---|
static LoggerContextFactory |
LogManager.getFactory()
Returns the current LoggerContextFactory.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
LogManager.setFactory(LoggerContextFactory factory)
Sets the current LoggerContextFactory to use.
|
| Modifier and Type | Class and Description |
|---|---|
class |
Log4jContextFactory
Factory to locate a ContextSelector and then load a LoggerContext.
|
| Modifier and Type | Class and Description |
|---|---|
class |
SimpleLoggerContextFactory |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Class<? extends LoggerContextFactory> |
Provider.loadLoggerContextFactory()
Loads the
LoggerContextFactory class specified by this Provider. |
| Modifier and Type | Class and Description |
|---|---|
class |
SLF4JLoggerContextFactory |