Click or drag to resize

EventLogTargetMaxKilobytes Property

Gets or sets the maximum Event log size in kilobytes.

Namespace:  NLog.Targets
Assembly:  NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntax
public Layout<long>? MaxKilobytes { get; set; }

Property Value

Type: LayoutInt64
Remarks

Property Value

Type: LayoutInt64
MaxKilobytes cannot be less than 64 or greater than 4194240 or not a multiple of 64. If null, the value will not be specified while creating the Event log.
See Also