Package ch.qos.logback.core.status
Class OnPrintStreamStatusListenerBase
- java.lang.Object
-
- ch.qos.logback.core.spi.ContextAwareBase
-
- ch.qos.logback.core.status.OnPrintStreamStatusListenerBase
-
- All Implemented Interfaces:
ContextAware,LifeCycle,StatusListener
- Direct Known Subclasses:
OnConsoleStatusListener,OnErrorConsoleStatusListener
@Deprecated(since="2022-01-27") public abstract class OnPrintStreamStatusListenerBase extends ContextAwareBase implements StatusListener, LifeCycle
Deprecated.This internal logback API is not supported by AEM as a Cloud Service.Print all new incoming status messages on the on the designated PrintStream.
-
-
Constructor Summary
Constructors Constructor Description OnPrintStreamStatusListenerBase()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaddStatusEvent(Status status)Deprecated.java.lang.StringgetPrefix()Deprecated.longgetRetrospective()Deprecated.booleanisStarted()Deprecated.voidsetPrefix(java.lang.String prefix)Deprecated.voidsetRetrospective(long retrospective)Deprecated.voidstart()Deprecated.Invoking the start method can cause the instance to print status messages created less than value of retrospectiveThresold.voidstop()Deprecated.-
Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getStatusManager, setContext
-
-
-
-
Method Detail
-
addStatusEvent
public void addStatusEvent(Status status)
Deprecated.- Specified by:
addStatusEventin interfaceStatusListener
-
start
public void start()
Deprecated.Invoking the start method can cause the instance to print status messages created less than value of retrospectiveThresold.
-
getPrefix
public java.lang.String getPrefix()
Deprecated.
-
setPrefix
public void setPrefix(java.lang.String prefix)
Deprecated.
-
setRetrospective
public void setRetrospective(long retrospective)
Deprecated.
-
getRetrospective
public long getRetrospective()
Deprecated.
-
-