class Poco::RotateStrategy
Overview
The RotateStrategy is used by LogFile to determine when a file must be rotated. Moreā¦
#include <RotateStrategy.h> class RotateStrategy { public: // methods virtual bool mustRotate(LogFile* pFile) = 0; }; // direct descendants template <class DT> class RotateAtTimeStrategy; class RotateByIntervalStrategy; class RotateBySizeStrategy;
Detailed Documentation
The RotateStrategy is used by LogFile to determine when a file must be rotated.
Methods
virtual bool mustRotate(LogFile* pFile) = 0
Returns true if the given log file must be rotated, false otherwise.