| AsyncTargetWrapperForceLockingQueue Property |
Gets or sets whether to use the locking queue, instead of a lock-free concurrent queue
Namespace:
NLog.Targets.Wrappers
Assembly:
NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax public bool ForceLockingQueue { get; set; }
Public Property ForceLockingQueue As Boolean
Get
Set
Dim instance As AsyncTargetWrapper
Dim value As Boolean
value = instance.ForceLockingQueue
instance.ForceLockingQueue = value
member ForceLockingQueue : bool with get, set
Property Value
Type:
BooleanRemarks
The locking queue is less concurrent when many logger threads, but reduces memory allocation
See Also