|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Appender
Appends log events.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.apache.logging.log4j.core.LifeCycle |
---|
LifeCycle.State |
Method Summary | |
---|---|
void |
append(LogEvent event)
Log in Appender specific way. |
ErrorHandler |
getHandler()
|
Layout<? extends Serializable> |
getLayout()
Returns this appender's layout. |
String |
getName()
Get the name of this appender. |
boolean |
ignoreExceptions()
Some appenders need to propagate exceptions back to the application. |
void |
setHandler(ErrorHandler handler)
|
Methods inherited from interface org.apache.logging.log4j.core.LifeCycle |
---|
isStarted, isStopped, start, stop |
Method Detail |
---|
void append(LogEvent event)
Appender
specific way. When appropriate,
Loggers will call the doAppend
method of appender
implementations in order to log.
event
- The LogEvent.String getName()
Layout<? extends Serializable> getLayout()
boolean ignoreExceptions()
ignoreExceptions
is
false
the AppenderControl will allow the exception to percolate.
true
if exceptions will be logged but now thrown, false
otherwise.ErrorHandler getHandler()
void setHandler(ErrorHandler handler)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.