Return the log file lifetime that triggers rotation, or zero.

Synopsis

Declared in <ball_fileobserver2.h>

bdlt::DatetimeInterval
rotationLifetime() const;

Description

Return the lifetime of the log file that will trigger a file rotation by this file observer if rotation‐on‐lifetime is in effect, and a 0 time interval otherwise.

Return Value

rotation lifetime, or a 0 interval if that rule is off

Created with MrDocs