public final class ListModelAppender
extends org.apache.log4j.AppenderSkeleton
Constructor and Description |
---|
ListModelAppender()
Constructs a ListModelAppender.
|
Modifier and Type | Method and Description |
---|---|
protected void |
append(org.apache.log4j.spi.LoggingEvent event) |
void |
clearModel()
Removes all the Events from the model.
|
void |
close() |
ListModel |
getModel()
Returns a reference to the ListModel that contains all the LoggingEvents
that have been appended to this class.
|
boolean |
requiresLayout() |
public ListModel getModel()
protected void append(org.apache.log4j.spi.LoggingEvent event)
append
in class org.apache.log4j.AppenderSkeleton
public void close()
public void clearModel()
public boolean requiresLayout()
Copyright © 2002-2017 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache Chainsaw, Chainsaw, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.