Poco

class ArchiveByNumberStrategy

File Information

Library: Foundation
Package: Logging
Header: Poco/ArchiveStrategy.h

Description

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

Inheritance

Direct Base Classes: ArchiveStrategy

All Base Classes: ArchiveStrategy

Member Summary

Member Functions: archive, open

Inherited Functions: archive, compress, exists, moveFile, open

Constructors

ArchiveByNumberStrategy

ArchiveByNumberStrategy();

Destructor

~ArchiveByNumberStrategy virtual

~ArchiveByNumberStrategy();

Member Functions

archive virtual

LogFile * archive(
    LogFile * pFile
);

open virtual

LogFile * open(
    LogFile * pFile
);