Click or drag to resize

EventLogTargetMaxMessageLength Property

Gets or sets the message length limit to write to the Event Log.

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

Property Value

Type: LayoutInt32
Remarks
Default: 30000
See Also