Module suffix

Module suffix 

Source
Expand description

Suffix schemes determine the suffix of rotated files

This behaviour is fully extensible through the SuffixScheme trait, and two behaviours are provided: AppendCount and AppendTimestamp

Structs§

AppendCount
Append a number when rotating the file. The greater the number, the older. The oldest files are deleted.
AppendTimestamp
Append current timestamp as suffix when rotating files. If the timestamp already exists, an additional number is appended.
TimestampSuffix
Structured representation of the suffixes of AppendTimestamp.

Enums§

DateFrom
Add timestamp from:
FileLimit
How to determine whether a file should be deleted, in the case of AppendTimestamp.

Traits§

Representation
Representation of a suffix Ord + PartialOrd: sort by age of the suffix. Most recent first (smallest).
SuffixScheme
How to move files: How to rename, when to delete.