Package | Description |
---|---|
org.apache.log4j.bridge | |
org.apache.logging.log4j.core |
Implementation of Log4j 2.
|
org.apache.logging.log4j.core.appender |
Log4j 2 Appenders.
|
Modifier and Type | Class and Description |
---|---|
class |
ErrorHandlerAdapter
Makes a Log4j 1 ErrorHandler usable by a Log4j 2 Appender.
|
Modifier and Type | Method and Description |
---|---|
ErrorHandler |
Appender.getHandler()
Gets the
ErrorHandler used for handling exceptions. |
Modifier and Type | Method and Description |
---|---|
void |
Appender.setHandler(ErrorHandler handler)
Sets the
ErrorHandler used for handling exceptions. |
Modifier and Type | Class and Description |
---|---|
class |
DefaultErrorHandler |
Modifier and Type | Field and Description |
---|---|
private ErrorHandler |
AbstractAppender.handler |
Modifier and Type | Method and Description |
---|---|
ErrorHandler |
AbstractAppender.getHandler()
Returns the ErrorHandler, if any.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractAppender.setHandler(ErrorHandler handler)
The handler must be set before the appender is started.
|