Class WebAppender
java.lang.Object
org.apache.log4j.AppenderSkeleton
org.palladiosimulator.protocom.framework.java.ee.main.WebAppender
- All Implemented Interfaces:
org.apache.log4j.Appender
,org.apache.log4j.spi.OptionHandler
public class WebAppender
extends org.apache.log4j.AppenderSkeleton
The WebAppender class for Apache Log4j delegates log messages to the web UI.
-
Field Summary
Fields inherited from class org.apache.log4j.AppenderSkeleton
closed, errorHandler, headFilter, layout, name, tailFilter, threshold
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.log4j.AppenderSkeleton
activateOptions, addFilter, clearFilters, doAppend, finalize, getErrorHandler, getFilter, getFirstFilter, getLayout, getName, getThreshold, isAsSevereAsThreshold, setErrorHandler, setLayout, setName, setThreshold
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
WebAppender
public WebAppender()Constructs a new WebAppender object and sets its name toNAME
.
-
-
Method Details
-
getLogContent
Returns the content of the log.- Returns:
- a list containing all messages of the log
-
close
public void close() -
requiresLayout
public boolean requiresLayout() -
append
protected void append(org.apache.log4j.spi.LoggingEvent event) - Specified by:
append
in classorg.apache.log4j.AppenderSkeleton
-