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 TypeMethodDescriptionvoid
Deprecated.Add a filter.void
Deprecated.void
Deprecated.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.boolean
Deprecated.void
Deprecated.Set the name of this appender.void
start()
Deprecated.void
stop()
Deprecated.toString()
Deprecated.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 Details
-
AppenderBase
public AppenderBase()Deprecated.
-
-
Method Details
-
getName
Deprecated.Description copied from interface:Appender
Get the name of this appender. The name uniquely identifies the appender. -
doAppend
Deprecated.Description copied from interface:Appender
This 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:FilterAttachable
Add a filter.- Specified by:
addFilter
in interfaceFilterAttachable<E>
-
clearAllFilters
public void clearAllFilters()Deprecated.- Specified by:
clearAllFilters
in interfaceFilterAttachable<E>
-
getCopyOfAttachedFiltersList
Deprecated.Description copied from interface:FilterAttachable
Get a copy of all the filters contained within this FilterAttachable object.- Specified by:
getCopyOfAttachedFiltersList
in interfaceFilterAttachable<E>
- Returns:
- all attached filters as a list
-
getFilterChainDecision
Deprecated.Description copied from interface:FilterAttachable
Loop 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:
getFilterChainDecision
in interfaceFilterAttachable<E>
-