ch.qos.logback.core.status
Class OnErrorConsoleStatusListener
java.lang.Object
ch.qos.logback.core.spi.ContextAwareBase
ch.qos.logback.core.status.OnErrorConsoleStatusListener
- All Implemented Interfaces:
- ContextAware, LifeCycle, StatusListener
public class OnErrorConsoleStatusListener
- extends ContextAwareBase
Print all new incoming status messages on the error console (System.err).
- Since:
- 1.0.8
- Author:
- Ceki Gücü
| Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase |
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OnErrorConsoleStatusListener
public OnErrorConsoleStatusListener()
getPrintStream
protected PrintStream getPrintStream()
- The PrintStream used by derived classes
- Returns:
addStatusEvent
public void addStatusEvent(Status status)
- Specified by:
addStatusEvent in interface StatusListener
start
public void start()
- Specified by:
start in interface LifeCycle
setRetrospective
public void setRetrospective(long retrospective)
getRetrospective
public long getRetrospective()
stop
public void stop()
- Specified by:
stop in interface LifeCycle
isStarted
public boolean isStarted()
- Specified by:
isStarted in interface LifeCycle
Copyright © 2005-2012 QOS.ch. All Rights Reserved.