 | 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: 5.5.0+1873145cbc26e0312d9481234d69ce7dc68aac4e
Syntaxpublic bool ReplaceFileContentsOnEachWrite { get; set; }
Public Property ReplaceFileContentsOnEachWrite As Boolean
Get
Set
Dim instance As FileTarget
Dim value As Boolean
value = instance.ReplaceFileContentsOnEachWrite
instance.ReplaceFileContentsOnEachWrite = value
member ReplaceFileContentsOnEachWrite : bool with get, set
Property Value
Type:
Boolean
See Also