template class Poco::RotateAtTimeStrategy

Overview

The file is rotated at specified [day,][hour]:minute. Moreā€¦

#include <RotateStrategy.h>

template <class DT>
class RotateAtTimeStrategy: public Poco::RotateStrategy
{
public:
    // construction

    RotateAtTimeStrategy(const std::string& rtime);

    // methods

    virtual
    bool
    mustRotate(LogFile* pFile);
};

Inherited Members

public:
    // methods

    virtual
    bool
    mustRotate(LogFile* pFile) = 0;

Detailed Documentation

The file is rotated at specified [day,][hour]:minute.

Methods

virtual
bool
mustRotate(LogFile* pFile)

Returns true if the given log file must be rotated, false otherwise.