Package ch.qos.logback.classic.net
Class SMTPAppender
java.lang.Object
- All Implemented Interfaces:
Appender<ILoggingEvent>,ContextAware,FilterAttachable<ILoggingEvent>,LifeCycle
Deprecated.
This internal logback API is not supported by AEM as a Cloud Service.
Send an e-mail when a specific logging event occurs, typically on errors or
fatal errors.
For more information about this appender, please refer to the online manual at
http://logback.qos.ch/manual/appenders.html#SMTPAppender
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.The default constructor will instantiate the appender with aEventEvaluatorthat will trigger on events with level ERROR or higher.SMTPAppender(EventEvaluator<ILoggingEvent> eventEvaluator) Deprecated.Use the parameter as theEventEvaluatorfor this SMTPAppender. -
Method Summary
Modifier and TypeMethodDescriptionbooleanDeprecated.voidsetIncludeCallerData(boolean includeCallerData) Deprecated.voidstart()Deprecated.Start the appenderMethods inherited from class ch.qos.logback.core.net.SMTPAppenderBase
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, stopMethods inherited from class ch.qos.logback.core.AppenderBase
addFilter, clearAllFilters, doAppend, getCopyOfAttachedFiltersList, getFilterChainDecision, getName, isStarted, setName, toStringMethods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getStatusManager, setContextMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface ch.qos.logback.core.spi.ContextAware
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContext
-
Constructor Details
-
SMTPAppender
public SMTPAppender()Deprecated.The default constructor will instantiate the appender with aEventEvaluatorthat will trigger on events with level ERROR or higher. -
SMTPAppender
Deprecated.Use the parameter as theEventEvaluatorfor this SMTPAppender.
-
-
Method Details
-
start
public void start()Deprecated.Description copied from class:SMTPAppenderBaseStart the appender- Specified by:
startin interfaceLifeCycle- Overrides:
startin classSMTPAppenderBase<ILoggingEvent>
-
isIncludeCallerData
public boolean isIncludeCallerData()Deprecated. -
setIncludeCallerData
public void setIncludeCallerData(boolean includeCallerData) Deprecated.
-