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: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax
public long? MaxKilobytes { get; set; }

Property Value

Type: NullableInt64
Remarks

Property Value

Type: NullableInt64
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