public class DelegatingStatusListener
extends ch.qos.logback.core.spi.ContextAwareBase
implements ch.qos.logback.core.status.StatusListener, ch.qos.logback.core.spi.LifeCycle
StatusListener that delegates to another StatusListener| Constructor and Description |
|---|
DelegatingStatusListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
addStatusEvent(ch.qos.logback.core.status.Status status) |
ch.qos.logback.core.status.StatusListener |
getDelegate() |
boolean |
isStarted() |
void |
setContext(ch.qos.logback.core.Context context) |
void |
setDelegate(ch.qos.logback.core.status.StatusListener delegate) |
void |
start() |
void |
stop() |
public void start()
start in interface ch.qos.logback.core.spi.LifeCyclepublic void stop()
stop in interface ch.qos.logback.core.spi.LifeCyclepublic boolean isStarted()
isStarted in interface ch.qos.logback.core.spi.LifeCyclepublic void addStatusEvent(ch.qos.logback.core.status.Status status)
addStatusEvent in interface ch.qos.logback.core.status.StatusListenerpublic void setContext(ch.qos.logback.core.Context context)
setContext in interface ch.qos.logback.core.spi.ContextAwaresetContext in class ch.qos.logback.core.spi.ContextAwareBasepublic ch.qos.logback.core.status.StatusListener getDelegate()
public void setDelegate(ch.qos.logback.core.status.StatusListener delegate)
Copyright © 2019. All rights reserved.