Click or drag to resize

FileTargetArchiveFileName Property

Gets or sets the name of the file to be used for an archive.

Namespace:  NLog.Targets
Assembly:  NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax
public Layout ArchiveFileName { get; set; }

Property Value

Type: Layout
Remarks
It may contain a special placeholder {#####} that will be replaced with a sequence of numbers depending on the archiving strategy. The number of hash characters used determines the number of numerical digits to be used for numbering files.
See Also