class Poco::RotateBySizeStrategy
Overview
The file is rotated when the log file exceeds a given size. Moreā¦
#include <RotateStrategy.h> class RotateBySizeStrategy: public Poco::RotateStrategy { public: // construction RotateBySizeStrategy(UInt64 size); // methods virtual bool mustRotate(LogFile* pFile); };
Inherited Members
public: // methods virtual bool mustRotate(LogFile* pFile) = 0;
Detailed Documentation
The file is rotated when the log file exceeds a given size.
Methods
virtual bool mustRotate(LogFile* pFile)
Returns true if the given log file must be rotated, false otherwise.