|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.log4j.AppenderSkeleton org.openmrs.util.MemoryAppender
public class MemoryAppender
This class stores a few lines of the output to the log file. This class is set in the log4j descriptor file: /metadata/api/log4j/log4j.xml
Field Summary |
---|
Fields inherited from class org.apache.log4j.AppenderSkeleton |
---|
closed, errorHandler, headFilter, layout, name, tailFilter, threshold |
Constructor Summary | |
---|---|
MemoryAppender()
|
Method Summary | |
---|---|
void |
activateOptions()
|
protected void |
append(org.apache.log4j.spi.LoggingEvent loggingEvent)
|
void |
close()
|
int |
getBufferSize()
|
java.util.List<java.lang.String> |
getLogLines()
|
boolean |
requiresLayout()
|
void |
setBufferSize(int bufferSize)
|
Methods inherited from class org.apache.log4j.AppenderSkeleton |
---|
addFilter, clearFilters, doAppend, finalize, getErrorHandler, getFilter, getFirstFilter, getLayout, getName, getThreshold, isAsSevereAsThreshold, setErrorHandler, setLayout, setName, setThreshold |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MemoryAppender()
Method Detail |
---|
protected void append(org.apache.log4j.spi.LoggingEvent loggingEvent)
append
in class org.apache.log4j.AppenderSkeleton
public void close()
public boolean requiresLayout()
public void activateOptions()
activateOptions
in interface org.apache.log4j.spi.OptionHandler
activateOptions
in class org.apache.log4j.AppenderSkeleton
public java.util.List<java.lang.String> getLogLines()
public int getBufferSize()
public void setBufferSize(int bufferSize)
|
OpenMRS-1.7.x | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |