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 Constructor Description SiftingAppenderBase()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description AppenderTracker<E>
getAppenderTracker()
Deprecated.Discriminator<E>
getDiscriminator()
Deprecated.java.lang.String
getDiscriminatorKey()
Deprecated.int
getMaxAppenderCount()
Deprecated.Duration
getTimeout()
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
-
-
-
-
Method Detail
-
getTimeout
public Duration getTimeout()
Deprecated.
-
setTimeout
public void setTimeout(Duration timeout)
Deprecated.
-
getMaxAppenderCount
public int getMaxAppenderCount()
Deprecated.
-
setMaxAppenderCount
public void setMaxAppenderCount(int maxAppenderCount)
Deprecated.
-
setAppenderFactory
public void setAppenderFactory(AppenderFactory<E> appenderFactory)
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
public Discriminator<E> getDiscriminator()
Deprecated.
-
setDiscriminator
public void setDiscriminator(Discriminator<E> discriminator)
Deprecated.
-
getAppenderTracker
public AppenderTracker<E> getAppenderTracker()
Deprecated.- Since:
- 0.9.19
-
getDiscriminatorKey
public java.lang.String getDiscriminatorKey()
Deprecated.
-
-