Class DelegatingStatusListener
java.lang.Object
ch.qos.logback.core.spi.ContextAwareBase
net.logstash.logback.status.DelegatingStatusListener
- All Implemented Interfaces:
ContextAware, LifeCycle, StatusListener
- Direct Known Subclasses:
LevelFilteringStatusListener
A
StatusListener that delegates to another StatusListener-
Field Summary
Fields inherited from class ContextAwareBase
context -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddStatusEvent(Status status) booleanvoidsetContext(Context context) voidsetDelegate(StatusListener delegate) voidstart()voidstop()Methods inherited from class ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManagerMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface StatusListener
isResetResistant
-
Constructor Details
-
DelegatingStatusListener
public DelegatingStatusListener()
-
-
Method Details
-
start
-
stop
-
isStarted
-
addStatusEvent
- Specified by:
addStatusEventin interfaceStatusListener
-
setContext
- Specified by:
setContextin interfaceContextAware- Overrides:
setContextin classContextAwareBase
-
getDelegate
-
setDelegate
-