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

Property Value

Type: Int32
Remarks

Property Value

Type: Int32
MaxMessageLength cannot be zero or negative
See Also