Click or drag to resize

FileArchivePeriod Enumeration

Modes of archiving files based on time.

Namespace:  NLog.Targets
Assembly:  NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax
public enum FileArchivePeriod
Members
  Member nameValueDescription
None0 Don't archive based on time.
Year1 AddToArchive every year.
Month2 AddToArchive every month.
Day3 AddToArchive daily.
Hour4 AddToArchive every hour.
Minute5 AddToArchive every minute.
Sunday6 AddToArchive every Sunday.
Monday7 AddToArchive every Monday.
Tuesday8 AddToArchive every Tuesday.
Wednesday9 AddToArchive every Wednesday.
Thursday10 AddToArchive every Thursday.
Friday11 AddToArchive every Friday.
Saturday12 AddToArchive every Saturday.
See Also