|
||||||||||
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.AbstractEmailBugReportAppender net.codesmarts.log4j.EmailBugReportAppender
Bug Report appender that sends BugReports via email
Field Summary |
Fields inherited from class org.apache.log4j.AppenderSkeleton |
closed, errorHandler, headFilter, layout, name, tailFilter, threshold |
Constructor Summary | |
EmailBugReportAppender()
|
Method Summary | |
java.lang.String |
getHTMLMessage(BugReport report)
Implementing class decides how to create email message body |
java.lang.String |
getMessage(BugReport report)
Implementing class decides how to create email message body |
java.lang.String |
getSubject(BugReport report)
Implementing class decides how to create email subject |
void |
setHtmlLayout(org.apache.log4j.Layout htmlLayout)
|
Methods inherited from class net.codesmarts.log4j.AbstractEmailBugReportAppender |
append, init, setFrom, setHtml, setSmtpServer, setSubjectPrepend, setTo |
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 EmailBugReportAppender()
Method Detail |
public java.lang.String getMessage(BugReport report)
AbstractEmailBugReportAppender
getMessage
in class AbstractEmailBugReportAppender
report
-
AbstractEmailBugReportAppender.getMessage(net.codesmarts.log4j.BugReport)
public java.lang.String getHTMLMessage(BugReport report)
AbstractEmailBugReportAppender
getHTMLMessage
in class AbstractEmailBugReportAppender
report
-
AbstractEmailBugReportAppender.getHTMLMessage(net.codesmarts.log4j.BugReport)
public java.lang.String getSubject(BugReport report)
AbstractEmailBugReportAppender
getSubject
in class AbstractEmailBugReportAppender
report
-
AbstractEmailBugReportAppender.getSubject(net.codesmarts.log4j.BugReport)
public void setHtmlLayout(org.apache.log4j.Layout htmlLayout)
htmlLayout
- The htmlLayout to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |