Package ch.qos.logback.core
Class AppenderBase<E>
java.lang.Object
ch.qos.logback.core.spi.ContextAwareBase
ch.qos.logback.core.AppenderBase<E>
- All Implemented Interfaces:
Appender<E>,ContextAware,FilterAttachable<E>,LifeCycle
- Direct Known Subclasses:
AbstractServerSocketAppender,AbstractSocketAppender,CyclicBufferAppender,ListAppender,NOPAppender,SiftingAppenderBase,SMTPAppenderBase,SyslogAppenderBase
@Deprecated(since="2022-01-27")
public abstract class AppenderBase<E>
extends ContextAwareBase
implements Appender<E>
Deprecated.
This internal logback API is not supported by AEM as a Cloud Service.
Sets a skeleton implementation for appenders.
For more information about this appender, please refer to the online manual at http://logback.qos.ch/manual/appenders.html#AppenderBase
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.Add a filter.voidDeprecated.voidDeprecated.This is where an appender accomplishes its work.Deprecated.Get a copy of all the filters contained within this FilterAttachable object.getFilterChainDecision(E event) Deprecated.Loop through the filters in the chain.getName()Deprecated.Get the name of this appender.booleanDeprecated.voidDeprecated.Set the name of this appender.voidstart()Deprecated.voidstop()Deprecated.toString()Deprecated.Methods 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
-
AppenderBase
public AppenderBase()Deprecated.
-
-
Method Details
-
getName
Deprecated.Description copied from interface:AppenderGet the name of this appender. The name uniquely identifies the appender. -
doAppend
Deprecated.Description copied from interface:AppenderThis is where an appender accomplishes its work. Note that the argument is of type Object. -
setName
Deprecated.Set the name of this appender. -
start
public void start()Deprecated. -
stop
public void stop()Deprecated. -
isStarted
public boolean isStarted()Deprecated. -
toString
Deprecated. -
addFilter
Deprecated.Description copied from interface:FilterAttachableAdd a filter.- Specified by:
addFilterin interfaceFilterAttachable<E>
-
clearAllFilters
public void clearAllFilters()Deprecated.- Specified by:
clearAllFiltersin interfaceFilterAttachable<E>
-
getCopyOfAttachedFiltersList
Deprecated.Description copied from interface:FilterAttachableGet a copy of all the filters contained within this FilterAttachable object.- Specified by:
getCopyOfAttachedFiltersListin interfaceFilterAttachable<E>- Returns:
- all attached filters as a list
-
getFilterChainDecision
Deprecated.Description copied from interface:FilterAttachableLoop through the filters in the chain. As soon as a filter decides on ACCEPT or DENY, then that value is returned. If all of the filters return NEUTRAL, then NEUTRAL is returned.- Specified by:
getFilterChainDecisionin interfaceFilterAttachable<E>
-