 | 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: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntaxpublic 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:
Boolean
RemarksDefault: . Queue with Monitor.Lock is less concurrent when many logger threads, but reduces memory allocation
See Also