 | FileArchivePeriod Enumeration |
Modes of archiving files based on time.
Namespace:
NLog.Targets
Assembly:
NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntaxpublic enum FileArchivePeriod
Public Enumeration FileArchivePeriod
Dim instance As FileArchivePeriod
Members
| Member name | Value | Description |
---|
| None | 0 |
Don't archive based on time.
|
| Year | 1 |
Archive every new year.
|
| Month | 2 |
Archive every new month.
|
| Day | 3 |
Archive every new day.
|
| Hour | 4 |
Archive every new hour.
|
| Minute | 5 |
Archive every new minute.
|
| Sunday | 6 |
Archive every Sunday.
|
| Monday | 7 |
Archive every Monday.
|
| Tuesday | 8 |
Archive every Tuesday.
|
| Wednesday | 9 |
Archive every Wednesday.
|
| Thursday | 10 |
Archive every Thursday.
|
| Friday | 11 |
Archive every Friday.
|
| Saturday | 12 |
Archive every Saturday.
|
See Also