public class VisibilityLogger
extends org.apache.log4j.AppenderSkeleton
| Modifier and Type | Field and Description | 
|---|---|
| static java.util.ArrayList<LoggingEntry> | entriesThe entries. | 
| protected static org.apache.log4j.Logger | loggerThe logger. | 
| protected int | maxEntriesThe max entries. | 
| Constructor and Description | 
|---|
| VisibilityLogger() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | activateOptions() | 
| protected void | append(org.apache.log4j.spi.LoggingEvent evt) | 
| void | close() | 
| java.util.ArrayList<LoggingEntry> | getLog()Gets the log. | 
| int | getMaxEntries()Gets the max entries. | 
| void | post(LoggingEntry entry)Post. | 
| boolean | requiresLayout() | 
| void | setMaxEntries(int val)Sets the max entries. | 
protected static org.apache.log4j.Logger logger
public static java.util.ArrayList<LoggingEntry> entries
protected int maxEntries
public int getMaxEntries()
public void setMaxEntries(int val)
val - the new max entriespublic void activateOptions()
activateOptions in interface org.apache.log4j.spi.OptionHandleractivateOptions in class org.apache.log4j.AppenderSkeletonprotected void append(org.apache.log4j.spi.LoggingEvent evt)
append in class org.apache.log4j.AppenderSkeletonpublic void close()
close in interface org.apache.log4j.Appenderclose in class org.apache.log4j.AppenderSkeletonpublic boolean requiresLayout()
requiresLayout in interface org.apache.log4j.AppenderrequiresLayout in class org.apache.log4j.AppenderSkeletonpublic java.util.ArrayList<LoggingEntry> getLog()
public void post(LoggingEntry entry)
entry - the entry