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.AppenderSkeletonpublic void close()
public void clearModel()
public boolean requiresLayout()
Copyright © 2013 The Apache Software Foundation. Licensed under the Apache License, Version 2.0
Apache Extras for Apache log4j, Apache log4j and Apache are trademarks of the Apache Software Foundation.