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: RotateAtTimeStrategy, RotateByIntervalStrategy, RotateBySizeStrategy
Member Functions: mustRotate
 
 virtual ~RotateStrategy();
 
 virtual bool mustRotate(
    LogFile * pFile
) = 0;
Returns true if the given log file must be rotated, false otherwise.