Logo Search packages:      
Sourcecode: poco version File versions  Download package

Poco::ArchiveByNumberStrategy Class Reference

#include <ArchiveStrategy.h>

Inheritance diagram for Poco::ArchiveByNumberStrategy:

Poco::ArchiveStrategy

List of all members.


Detailed Description

A monotonic increasing number is appended to the log file name. The most recent archived file always has the number zero.

Definition at line 87 of file ArchiveStrategy.h.


Public Member Functions

LogFilearchive (LogFile *pFile)
void compress (bool flag=true)

Protected Member Functions

bool exists (const std::string &name)
void moveFile (const std::string &oldName, const std::string &newName)
 Enables or disables compression of archived files.

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index