| Package | Description |
|---|---|
| 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.log4j.status |
Status API for Log4j 2.
|
| Modifier and Type | Class and Description |
|---|---|
class |
SimpleLogger
This is the default logger that is used when no suitable logging implementation is available.
|
| Modifier and Type | Method and Description |
|---|---|
ExtendedLogger |
SimpleLoggerContext.getLogger(String
|
ExtendedLogger |
SimpleLoggerContext.getLogger(String
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractLogger
Base implementation of a Logger.
|
class |
ExtendedLoggerWrapper
Wrapper class that exposes the protected AbstractLogger methods to support wrapped loggers.
|
| Modifier and Type | Field and Description |
|---|---|
protected ExtendedLogger |
ExtendedLoggerWrapper.logger
The wrapped Logger.
|
| Modifier and Type | Method and Description |
|---|---|
ExtendedLogger |
LoggerContext.getLogger(String
Returns an ExtendedLogger.
|
ExtendedLogger |
LoggerContext.getLogger(String
Returns an ExtendedLogger.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
AbstractLogger.checkMessageFactory(ExtendedLogger
Checks that the message factory a logger was created with is the same as the given messageFactory.
|
| Constructor and Description | |
|---|---|
ExtendedLoggerWrapper(ExtendedLogger
Constructor that wraps and existing Logger.
|
| Modifier and Type | Class and Description |
|---|---|
class |
StatusLogger
Records events that occur in the logging system.
|