 | MemoryTargetMaxLogsCount Property |
Gets or sets the max number of items to have in memory. Zero or Negative means no limit.
Namespace:
NLog.Targets
Assembly:
NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntaxpublic int MaxLogsCount { get; set; }
Public Property MaxLogsCount As Integer
Get
Set
Dim instance As MemoryTarget
Dim value As Integer
value = instance.MaxLogsCount
instance.MaxLogsCount = value
member MaxLogsCount : int with get, set
Property Value
Type:
Int32
RemarksDefault: 0
See Also