Click or drag to resize

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
Syntax
public bool ForceLockingQueue { get; set; }

Property Value

Type: Boolean
Remarks
Default: . Queue with Monitor.Lock is less concurrent when many logger threads, but reduces memory allocation
See Also