|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.log4j.AppenderSkeleton org.apache.log4j.WriterAppender com.atlassian.confluence.admin.actions.TestAppender
public class TestAppender
Field Summary |
---|
Fields inherited from class org.apache.log4j.WriterAppender |
---|
encoding, immediateFlush, qw |
Fields inherited from class org.apache.log4j.AppenderSkeleton |
---|
closed, errorHandler, headFilter, layout, name, tailFilter, threshold |
Constructor Summary | |
---|---|
TestAppender()
|
Method Summary | |
---|---|
void |
append(org.apache.log4j.spi.LoggingEvent loggingEvent)
|
void |
disableLogger(java.lang.String className)
|
void |
enableLogger(java.lang.String className)
|
java.lang.String |
getLeastRecentMessageForLogger(java.lang.String loggerName)
Gets the first unread message for the given loggerName. |
Methods inherited from class org.apache.log4j.WriterAppender |
---|
activateOptions, checkEntryConditions, close, closeWriter, createWriter, getEncoding, getImmediateFlush, requiresLayout, reset, setEncoding, setErrorHandler, setImmediateFlush, setWriter, subAppend, writeFooter, writeHeader |
Methods inherited from class org.apache.log4j.AppenderSkeleton |
---|
addFilter, clearFilters, doAppend, finalize, getErrorHandler, getFilter, getFirstFilter, getLayout, getName, getThreshold, isAsSevereAsThreshold, setLayout, setName, setThreshold |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TestAppender()
Method Detail |
---|
public void enableLogger(java.lang.String className)
public void disableLogger(java.lang.String className)
public void append(org.apache.log4j.spi.LoggingEvent loggingEvent)
append
in class org.apache.log4j.WriterAppender
public java.lang.String getLeastRecentMessageForLogger(java.lang.String loggerName)
loggerName
- logger to read message from
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |