Package ch.qos.logback.core.status
Class OnFileStatusListener
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 PrintStream
The PrintStream used by derived classesvoid
setFilename
(String filename) void
start()
Invoking the start method can cause the instance to print status messages created less than value of retrospectiveThresold.void
stop()
Methods inherited from class ch.qos.logback.core.status.OnPrintStreamStatusListenerBase
addStatusEvent, getPrefix, getRetrospective, isStarted, setPrefix, setRetrospective
Methods 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:OnPrintStreamStatusListenerBase
Invoking the start method can cause the instance to print status messages created less than value of retrospectiveThresold.- Specified by:
start
in interfaceLifeCycle
- Overrides:
start
in classOnPrintStreamStatusListenerBase
-
stop
- Specified by:
stop
in interfaceLifeCycle
- Overrides:
stop
in classOnPrintStreamStatusListenerBase
-
getFilename
-
setFilename
-
getPrintStream
Description copied from class:OnPrintStreamStatusListenerBase
The PrintStream used by derived classes- Specified by:
getPrintStream
in classOnPrintStreamStatusListenerBase
- Returns:
-