public class SMTPAppender extends SMTPAppenderBase<ILoggingEvent>
Constructor and Description |
---|
SMTPAppender()
The default constructor will instantiate the appender with a
EventEvaluator that will trigger on events with level
ERROR or higher. |
SMTPAppender(EventEvaluator<ILoggingEvent> eventEvaluator)
Use the parameter as the
EventEvaluator for this SMTPAppender. |
Modifier and Type | Method and Description |
---|---|
boolean |
isIncludeCallerData() |
void |
setIncludeCallerData(boolean includeCallerData) |
void |
start()
Start the appender
|
addTo, checkEntryConditions, getCharsetEncoding, getCyclicBufferTracker, getDiscriminator, getFrom, getJndiLocation, getLayout, getLocalhost, getPassword, getSmtpHost, getSMTPHost, getSmtpPort, getSMTPPort, getSubject, getToAsListOfString, getToList, getUsername, isAsynchronousSending, isSessionViaJNDI, isSSL, isSTARTTLS, setAsynchronousSending, setCharsetEncoding, setCyclicBufferTracker, setDiscriminator, setEvaluator, setFrom, setJndiLocation, setLayout, setLocalhost, setPassword, setSessionViaJNDI, setSmtpHost, setSMTPHost, setSmtpPort, setSMTPPort, setSSL, setSTARTTLS, setSubject, setUsername, stop
addFilter, clearAllFilters, doAppend, getCopyOfAttachedFiltersList, getFilterChainDecision, getName, isStarted, setName, toString
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getStatusManager, setContext
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContext
public SMTPAppender()
EventEvaluator
that will trigger on events with level
ERROR or higher.public SMTPAppender(EventEvaluator<ILoggingEvent> eventEvaluator)
EventEvaluator
for this SMTPAppender.public void start()
SMTPAppenderBase
start
in interface LifeCycle
start
in class SMTPAppenderBase<ILoggingEvent>
public boolean isIncludeCallerData()
public void setIncludeCallerData(boolean includeCallerData)
Copyright © 2010 - 2020 Adobe. All Rights Reserved