 | EventLogTargetOverflowAction Enumeration |
Action that should be taken if the message is greater than
the max message size allowed by the Event Log.
Namespace:
NLog.Targets
Assembly:
NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntaxpublic enum EventLogTargetOverflowAction
Public Enumeration EventLogTargetOverflowAction
Dim instance As EventLogTargetOverflowAction
type EventLogTargetOverflowAction
Members
| Member name | Value | Description |
---|
| Truncate | 0 |
Truncate the message before writing to the Event Log.
|
| Split | 1 |
Split the message and write multiple entries to the Event Log.
|
| Discard | 2 |
Discard of the message. It will not be written to the Event Log.
|
See Also