|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.log4j.AppenderSkeleton net.codesmarts.log4j.AbstractBugReportAppender net.codesmarts.log4j.FileSystemBugReportAppender
Log4j appender that collects logging evnets in the same thread in a common buffer
Field Summary |
Fields inherited from class org.apache.log4j.AppenderSkeleton |
closed, errorHandler, headFilter, layout, name, tailFilter, threshold |
Constructor Summary | |
FileSystemBugReportAppender()
|
Method Summary | |
void |
append(BugReport report)
Addend a logging event |
java.lang.String |
getDirectory()
Get the name of the directory in which bug reports are filed |
java.lang.String |
getExtension()
Get the extension of bug report files. |
void |
init()
Initialize appender |
void |
setDirectory(java.lang.String directory)
Set the bug report directory. |
void |
setExtension(java.lang.String extension)
Set the extension of bug report files |
Methods inherited from class net.codesmarts.log4j.AbstractBugReportAppender |
activateOptions, append, close, doAppend, getHashingMethod, getHashMethod, getMaxSize, getThresholdPriority, getThresholdSize, isReportDuplicates, requiresLayout, setHashingMethod, setLayout, setMaxSize, setReportDuplicates, setThresholdPriority, setThresholdSize |
Methods inherited from class org.apache.log4j.AppenderSkeleton |
addFilter, clearFilters, finalize, getErrorHandler, getFilter, getFirstFilter, getLayout, getName, getThreshold, isAsSevereAsThreshold, setErrorHandler, setName, setThreshold |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FileSystemBugReportAppender()
Method Detail |
public void init()
init
in class AbstractBugReportAppender
public void append(BugReport report)
append
in interface BugReportAppender
append
in class AbstractBugReportAppender
AppenderSkeleton.append(org.apache.log4j.spi.LoggingEvent)
public java.lang.String getDirectory()
public void setDirectory(java.lang.String directory)
directory
- The directory to set.public java.lang.String getExtension()
public void setExtension(java.lang.String extension)
extension
- The extension to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |