# Poco

# class ArchiveByNumberStrategy

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, close, compress, exists, moveFile, open, setPurgeCallback

## Constructors

### ArchiveByNumberStrategy

ArchiveByNumberStrategy();

## Destructor

### ~ArchiveByNumberStrategy

~ArchiveByNumberStrategy() override;

## Member Functions

### archive

LogFile * archive(
LogFile * pFile
) override;

See also: Poco::ArchiveStrategy::archive()

### open

LogFile * open(
LogFile * pFile
) override;

See also: Poco::ArchiveStrategy::open()