 | 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
Syntaxpublic Layout<int> MaxMessageLength { get; set; }
Public Property MaxMessageLength As Layout(Of Integer)
Get
Set
Dim instance As EventLogTarget
Dim value As Layout(Of Integer)
value = instance.MaxMessageLength
instance.MaxMessageLength = value
member MaxMessageLength : Layout<int> with get, set
Property Value
Type:
LayoutInt32
RemarksDefault: 30000
See Also