Click or drag to resize

ArchiveNumberingMode Enumeration

Specifies the way archive numbering is performed.

Namespace:  NLog.Targets
Assembly:  NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax
public enum ArchiveNumberingMode
Members
  Member nameValueDescription
Sequence0 Sequence style numbering. The most recent archive has the highest number.
Rolling1 Rolling style numbering (the most recent is always #0 then #1, ..., #N.
Date2 Date style numbering. Archives will be stamped with the prior period (Year, Month, Day, Hour, Minute) datetime.
DateAndSequence3 Date and sequence style numbering. Archives will be stamped with the prior period (Year, Month, Day) datetime. The most recent archive has the highest number (in combination with the date).
See Also