Click or drag to resize

FileTargetReplaceFileContentsOnEachWrite Property

Gets or sets a value indicating whether to replace file contents on each write instead of appending log message at the end.

Namespace:  NLog.Targets
Assembly:  NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntax
public bool ReplaceFileContentsOnEachWrite { get; set; }

Property Value

Type: Boolean
Remarks
Default:
See Also