 | FileTargetArchiveSuffixFormat Property |
Gets or sets the format-string to convert archive sequence-number by using string.Format
Namespace:
NLog.Targets
Assembly:
NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntaxpublic string ArchiveSuffixFormat { get; set; }
Public Property ArchiveSuffixFormat As String
Get
Set
Dim instance As FileTarget
Dim value As String
value = instance.ArchiveSuffixFormat
instance.ArchiveSuffixFormat = value
member ArchiveSuffixFormat : string with get, set
Property Value
Type:
String
Remarks
Default:
_{0:00} .
Ex. to prefix archive sequence number with leading zero's then one can use _{0:000} .
Legacy archive-logic with
ArchiveFileName can use suffix _{1:yyyyMMdd}_{0:00} .
See Also