Package ch.qos.logback.classic.net
Class SMTPAppender
- java.lang.Object
-
- ch.qos.logback.core.spi.ContextAwareBase
-
- ch.qos.logback.core.AppenderBase<E>
-
- ch.qos.logback.core.net.SMTPAppenderBase<ILoggingEvent>
-
- ch.qos.logback.classic.net.SMTPAppender
-
- All Implemented Interfaces:
Appender<ILoggingEvent>
,ContextAware
,FilterAttachable<ILoggingEvent>
,LifeCycle
@Deprecated(since="2022-01-27") public class SMTPAppender extends SMTPAppenderBase<ILoggingEvent>
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
Constructors Constructor Description SMTPAppender()
Deprecated.The default constructor will instantiate the appender with aEventEvaluator
that will trigger on events with level ERROR or higher.SMTPAppender(EventEvaluator<ILoggingEvent> eventEvaluator)
Deprecated.Use the parameter as theEventEvaluator
for this SMTPAppender.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
isIncludeCallerData()
Deprecated.void
setIncludeCallerData(boolean includeCallerData)
Deprecated.void
start()
Deprecated.Start the appender-
Methods 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, stop
-
Methods inherited from class ch.qos.logback.core.AppenderBase
addFilter, clearAllFilters, doAppend, getCopyOfAttachedFiltersList, getFilterChainDecision, getName, isStarted, setName, toString
-
Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getStatusManager, setContext
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface ch.qos.logback.core.spi.ContextAware
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContext
-
-
-
-
Constructor Detail
-
SMTPAppender
public SMTPAppender()
Deprecated.The default constructor will instantiate the appender with aEventEvaluator
that will trigger on events with level ERROR or higher.
-
SMTPAppender
public SMTPAppender(EventEvaluator<ILoggingEvent> eventEvaluator)
Deprecated.Use the parameter as theEventEvaluator
for this SMTPAppender.
-
-
Method Detail
-
start
public void start()
Deprecated.Description copied from class:SMTPAppenderBase
Start the appender- Specified by:
start
in interfaceLifeCycle
- Overrides:
start
in classSMTPAppenderBase<ILoggingEvent>
-
isIncludeCallerData
public boolean isIncludeCallerData()
Deprecated.
-
setIncludeCallerData
public void setIncludeCallerData(boolean includeCallerData)
Deprecated.
-
-