BloombergLP::ball::FileObserver::rotateOnTimeInterval

rotateOnTimeInterval overloads

Synopses

Declared in <ball_fileobserver.h>

Configure periodic log file rotation at the specified interval.

void
rotateOnTimeInterval(bdlt::DatetimeInterval const& interval);
» more...

Configure periodic log rotation with the specified interval and startTime.

void
rotateOnTimeInterval(
    bdlt::DatetimeInterval const& interval,
    bdlt::Datetime const& startTime);
» more...

Parameters

NameDescription
intervalperiodic interval between log file rotations
startTimereference datetime for the rotation schedule