| FileTargetConcurrentWrites Property |
Gets or sets a value indicating whether concurrent writes to the log file by multiple processes on the same host.
Namespace:
NLog.Targets
Assembly:
NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax public bool ConcurrentWrites { get; set; }
Public Property ConcurrentWrites As Boolean
Get
Set
Dim instance As FileTarget
Dim value As Boolean
value = instance.ConcurrentWrites
instance.ConcurrentWrites = value
abstract ConcurrentWrites : bool with get, set
override ConcurrentWrites : bool with get, set
Property Value
Type:
BooleanRemarks
This makes multi-process logging possible. NLog uses a special technique
that lets it keep the files open for writing.
See Also