public class MemoryAppender
extends org.apache.log4j.AppenderSkeleton
| Constructor and Description |
|---|
MemoryAppender() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
append(org.apache.log4j.spi.LoggingEvent event) |
void |
clear()
Clears the receiver's list of retained events.
|
void |
close() |
LinkedList<org.apache.log4j.spi.LoggingEvent> |
getEvents()
Returns all events retained by the receiver.
|
boolean |
requiresLayout() |
protected void append(org.apache.log4j.spi.LoggingEvent event)
append in class org.apache.log4j.AppenderSkeletonpublic void close()
public boolean requiresLayout()
public LinkedList<org.apache.log4j.spi.LoggingEvent> getEvents()
public void clear()
Copyright © 2014. All Rights Reserved.