Library: Foundation
Package: Logging
Header: Poco/ArchiveStrategy.h
A timestamp (YYYYMMDDhhmmssiii) is appended to archived log files.
Direct Base Classes: ArchiveStrategy
All Base Classes: ArchiveStrategy
Member Functions: archive
Inherited Functions: archive, compress, exists, moveFile
~ArchiveByTimestampStrategy();
LogFile * archive(
LogFile * pFile
);
Archives the file by appending the current timestamp to the file name. If the new file name exists, additionally a monotonic increasing number is appended to the log file name.
See also: Poco::ArchiveStrategy::archive()