Package ch.qos.logback.core.sift
Class SiftingAppenderBase<E>
java.lang.Object
ch.qos.logback.core.spi.ContextAwareBase
ch.qos.logback.core.AppenderBase<E>
ch.qos.logback.core.sift.SiftingAppenderBase<E>
- All Implemented Interfaces:
Appender<E>
,ContextAware
,FilterAttachable<E>
,LifeCycle
- Direct Known Subclasses:
SiftingAppender
@Deprecated(since="2022-01-27")
public abstract class SiftingAppenderBase<E>
extends AppenderBase<E>
Deprecated.
This internal logback API is not supported by AEM as a Cloud Service.
This appender serves as the base class for actual SiftingAppenders
implemented by the logback-classic and logback-access modules. In a nutshell,
a SiftingAppender contains other appenders which it can build dynamically
depending on discriminating values supplied by the event currently being
processed. The appender to build (dynamically) is specified as part of a
configuration file.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Deprecated.Deprecated.int
Deprecated.Deprecated.void
setAppenderFactory
(AppenderFactory<E> appenderFactory) Deprecated.This setter is intended to be invoked by SiftAction.void
setDiscriminator
(Discriminator<E> discriminator) Deprecated.void
setMaxAppenderCount
(int maxAppenderCount) Deprecated.void
setTimeout
(Duration timeout) Deprecated.void
start()
Deprecated.void
stop()
Deprecated.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 Details
-
SiftingAppenderBase
public SiftingAppenderBase()Deprecated.
-
-
Method Details
-
getTimeout
Deprecated. -
setTimeout
Deprecated. -
getMaxAppenderCount
public int getMaxAppenderCount()Deprecated. -
setMaxAppenderCount
public void setMaxAppenderCount(int maxAppenderCount) Deprecated. -
setAppenderFactory
Deprecated.This setter is intended to be invoked by SiftAction. Customers have no reason to invoke this method directly. -
start
public void start()Deprecated.- Specified by:
start
in interfaceLifeCycle
- Overrides:
start
in classAppenderBase<E>
-
stop
public void stop()Deprecated.- Specified by:
stop
in interfaceLifeCycle
- Overrides:
stop
in classAppenderBase<E>
-
getDiscriminator
Deprecated. -
setDiscriminator
Deprecated. -
getAppenderTracker
Deprecated.- Since:
- 0.9.19
-
getDiscriminatorKey
Deprecated.
-