|
||||||||||
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.SMSBugReportAppender
Field Summary |
Fields inherited from class org.apache.log4j.AppenderSkeleton |
closed, errorHandler, headFilter, layout, name, tailFilter, threshold |
Constructor Summary | |
SMSBugReportAppender()
|
Method Summary | |
java.lang.String |
getMessage(BugReport report)
Sends the first thresholdPriority event message as the message |
java.lang.String |
getSubject(BugReport report)
Implementing class decides how to create email subject |
void |
init()
initialize appender (use this instead of activateOptions) |
boolean |
requiresLayout()
|
void |
setSubject(java.lang.String subject)
Set the subject for all SMS messages |
Methods inherited from class net.codesmarts.log4j.AbstractEmailBugReportAppender |
append, getHTMLMessage, setFrom, setHtml, setSmtpServer, setSubjectPrepend, setTo |
Methods inherited from class net.codesmarts.log4j.AbstractBugReportAppender |
activateOptions, append, close, doAppend, getHashingMethod, getHashMethod, getMaxSize, getThresholdPriority, getThresholdSize, isReportDuplicates, 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 SMSBugReportAppender()
Method Detail |
public java.lang.String getMessage(BugReport report)
getMessage
in class AbstractEmailBugReportAppender
report
-
AbstractEmailBugReportAppender.getMessage(net.codesmarts.log4j.BugReport)
public void init()
AbstractBugReportAppender
init
in class AbstractEmailBugReportAppender
AbstractBugReportAppender.init()
public void setSubject(java.lang.String subject)
subject
- The subject to set.public java.lang.String getSubject(BugReport report)
AbstractEmailBugReportAppender
getSubject
in class AbstractEmailBugReportAppender
report
-
AbstractEmailBugReportAppender.getSubject(net.codesmarts.log4j.BugReport)
public boolean requiresLayout()
requiresLayout
in interface org.apache.log4j.Appender
requiresLayout
in class AbstractBugReportAppender
Appender.requiresLayout()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |