 | AsyncTaskTargetForceLockingQueue Property |
Gets or sets whether to use the locking queue, instead of a lock-free concurrent queue
The locking queue is less concurrent when many logger threads, but reduces memory allocation
Namespace:
NLog.Targets
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 AsyncTaskTarget
Dim value As Boolean
value = instance.ForceLockingQueue
instance.ForceLockingQueue = value
member ForceLockingQueue : bool with get, set
Property Value
Type:
Boolean
RemarksDefault:
See Also