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.intDeprecated.Deprecated.voidsetAppenderFactory(AppenderFactory<E> appenderFactory) Deprecated.This setter is intended to be invoked by SiftAction.voidsetDiscriminator(Discriminator<E> discriminator) Deprecated.voidsetMaxAppenderCount(int maxAppenderCount) Deprecated.voidsetTimeout(Duration timeout) Deprecated.voidstart()Deprecated.voidstop()Deprecated.Methods 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
-
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:
startin interfaceLifeCycle- Overrides:
startin classAppenderBase<E>
-
stop
public void stop()Deprecated.- Specified by:
stopin interfaceLifeCycle- Overrides:
stopin classAppenderBase<E>
-
getDiscriminator
Deprecated. -
setDiscriminator
Deprecated. -
getAppenderTracker
Deprecated.- Since:
- 0.9.19
-
getDiscriminatorKey
Deprecated.
-