Module ch.qos.logback.core
Package ch.qos.logback.core.rolling
Class SizeAndTimeBasedRollingPolicy<E>
java.lang.Object
ch.qos.logback.core.spi.ContextAwareBase
ch.qos.logback.core.rolling.RollingPolicyBase
ch.qos.logback.core.rolling.TimeBasedRollingPolicy<E>
ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy<E>
- All Implemented Interfaces:
RollingPolicy
,TriggeringPolicy<E>
,ContextAware
,LifeCycle
-
Field Summary
Fields inherited from class ch.qos.logback.core.rolling.TimeBasedRollingPolicy
totalSizeCap
Fields inherited from class ch.qos.logback.core.rolling.RollingPolicyBase
compressionMode, fileNamePatternStr
Fields inherited from class ch.qos.logback.core.spi.ContextAwareBase
context
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setMaxFileSize
(FileSize aMaxFileSize) void
start()
toString()
Methods inherited from class ch.qos.logback.core.rolling.TimeBasedRollingPolicy
getActiveFileName, getMaxHistory, getTimeBasedFileNamingAndTriggeringPolicy, isCleanHistoryOnStart, isTriggeringEvent, isUnboundedTotalSizeCap, rollover, setCleanHistoryOnStart, setMaxHistory, setTimeBasedFileNamingAndTriggeringPolicy, setTotalSizeCap, stop
Methods inherited from class ch.qos.logback.core.rolling.RollingPolicyBase
determineCompressionMode, getCompressionMode, getFileNamePattern, getParentsRawFileProperty, isParentPrudent, isStarted, setFileNamePattern, setParent
Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext
-
Constructor Details
-
SizeAndTimeBasedRollingPolicy
public SizeAndTimeBasedRollingPolicy()
-
-
Method Details
-
start
- Specified by:
start
in interfaceLifeCycle
- Overrides:
start
in classTimeBasedRollingPolicy<E>
-
setMaxFileSize
-
toString
- Overrides:
toString
in classTimeBasedRollingPolicy<E>
-