Configure periodic log file rotation at the specified timeInterval.
Declared in <ball_fileobserver.h>
void
rotateOnLifetime(bdlt::DatetimeInterval const& timeInterval);
Set this file observer to perform a periodic log file rotation at multiples of the specified timeInterval. The behavior is undefined unless 0 < timeInterval.totalMilliseconds(). This rule replaces any rotation-on-time-interval rule currently in effect.
DEPRECATED: Use rotateOnTimeInterval instead.
| Name | Description |
|---|---|
| timeInterval | periodic interval between log file rotations |