Click or drag to resize

FileArchivePeriod Enumeration

Modes of archiving files based on time.

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