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.1+cf6675da40ccfd4c8c526a3b2bdbeed3442910a1
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