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§
- Append
Count - Append a number when rotating the file. The greater the number, the older. The oldest files are deleted.
- Append
Timestamp - Append current timestamp as suffix when rotating files. If the timestamp already exists, an additional number is appended.
- Timestamp
Suffix - Structured representation of the suffixes of AppendTimestamp.
Enums§
- Date
From - Add timestamp from:
- File
Limit - 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). - Suffix
Scheme - How to move files: How to rename, when to delete.