Package ch.qos.logback.core.status
Class OnConsoleStatusListener
- java.lang.Object
-
- ch.qos.logback.core.spi.ContextAwareBase
-
- ch.qos.logback.core.status.OnPrintStreamStatusListenerBase
-
- ch.qos.logback.core.status.OnConsoleStatusListener
-
- All Implemented Interfaces:
ContextAware,LifeCycle,StatusListener
public class OnConsoleStatusListener extends OnPrintStreamStatusListenerBase
Print all new incoming status messages on the console (System.out).
-
-
Field Summary
-
Fields inherited from class ch.qos.logback.core.status.OnPrintStreamStatusListenerBase
DEFAULT_RETROSPECTIVE, isStarted, prefix, retrospectiveThresold
-
Fields inherited from class ch.qos.logback.core.spi.ContextAwareBase
context
-
-
Constructor Summary
Constructors Constructor Description OnConsoleStatusListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.io.PrintStreamgetPrintStream()The PrintStream used by derived classes-
Methods inherited from class ch.qos.logback.core.status.OnPrintStreamStatusListenerBase
addStatusEvent, getPrefix, getRetrospective, isStarted, setPrefix, setRetrospective, start, stop
-
Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext
-
-
-
-
Method Detail
-
getPrintStream
protected java.io.PrintStream getPrintStream()
Description copied from class:OnPrintStreamStatusListenerBaseThe PrintStream used by derived classes- Specified by:
getPrintStreamin classOnPrintStreamStatusListenerBase- Returns:
-
-