Library: Foundation
Package: Logging
Header: Poco/RotateStrategy.h
The RotateStrategy is used by LogFile to determine when a file must be rotated.
Known Derived Classes: RotateBySizeStrategy, RotateAtTimeStrategy, RotateByIntervalStrategy
Member Functions: mustRotate
virtual ~RotateStrategy();
virtual bool mustRotate(
LogFile * pFile
) = 0;
Returns true if the given log file must be rotated, false otherwise.