java.lang.Object
ch.qos.logback.core.spi.ContextAwareBase
ch.qos.logback.core.status.OnPrintStreamStatusListenerBase
ch.qos.logback.core.status.OnFileStatusListener
- All Implemented Interfaces:
ContextAware,LifeCycle,StatusListener
-
Field Summary
Fields inherited from class ch.qos.logback.core.spi.ContextAwareBase
context -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected PrintStreamThe PrintStream used by derived classesvoidsetFilename(String filename) voidstart()Invoking the start method can cause the instance to print status messages created less than value of retrospectiveThresold.voidstop()Methods inherited from class ch.qos.logback.core.status.OnPrintStreamStatusListenerBase
addStatusEvent, getPrefix, getRetrospective, isResetResistant, isStarted, setPrefix, setResetResistant, setRetrospectiveMethods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext
-
Constructor Details
-
OnFileStatusListener
public OnFileStatusListener()
-
-
Method Details
-
start
Description copied from class:OnPrintStreamStatusListenerBaseInvoking the start method can cause the instance to print status messages created less than value of retrospectiveThresold.- Specified by:
startin interfaceLifeCycle- Overrides:
startin classOnPrintStreamStatusListenerBase
-
stop
- Specified by:
stopin interfaceLifeCycle- Overrides:
stopin classOnPrintStreamStatusListenerBase
-
getFilename
-
setFilename
-
getPrintStream
Description copied from class:OnPrintStreamStatusListenerBaseThe PrintStream used by derived classes- Specified by:
getPrintStreamin classOnPrintStreamStatusListenerBase- Returns:
-