|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- The Layout
's Serializable
type.public interface Appender<T extends Serializable>
Appends log events.
Method Summary | |
---|---|
void |
append(LogEvent event)
Log in Appender specific way. |
ErrorHandler |
getHandler()
|
Layout<T> |
getLayout()
Returns this appender's layout. |
String |
getName()
Get the name of this appender. |
boolean |
isExceptionSuppressed()
If set to true any exceptions thrown by the Appender will be logged but not thrown. |
void |
setHandler(ErrorHandler handler)
|
Methods inherited from interface org.apache.logging.log4j.core.LifeCycle |
---|
isStarted, 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<T> getLayout()
boolean isExceptionSuppressed()
ErrorHandler getHandler()
void setHandler(ErrorHandler handler)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1999-2013 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.