Package | Description |
---|---|
org.apache.log4j |
Log4j 1.x compatibility layer.
|
org.apache.log4j.spi |
Log4j 1.x compatibility layer.
|
Modifier and Type | Method | Description |
---|---|---|
protected abstract void |
AppenderSkeleton.append(LoggingEvent event) |
|
void |
Category.callAppenders(LoggingEvent event) |
No-op implementation.
|
void |
Appender.doAppend(LoggingEvent event) |
Log in
Appender specific way. |
void |
AppenderSkeleton.doAppend(LoggingEvent event) |
This method is never going to be called in Log4j 2 so there isn't much point in having any code in it.
|
void |
AppenderSkeleton.NoOpErrorHandler.error(String message,
Exception e,
int errorCode,
LoggingEvent event) |
|
abstract String |
Layout.format(LoggingEvent event) |
Implement this method to create your own layout format.
|
String |
PatternLayout.format(LoggingEvent event) |
Modifier and Type | Method | Description |
---|---|---|
abstract int |
Filter.decide(LoggingEvent event) |
If the decision is
DENY , then the event will be
dropped. |
void |
ErrorHandler.error(String message,
Exception e,
int errorCode,
LoggingEvent event) |
This method is invoked to handle the error.
|
Copyright © 1999-2018. 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.