Click or drag to resize

EventLogTargetEventId Property

Gets or sets the layout that renders event ID.

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

Property Value

Type: LayoutInt32
Remarks
Default:
1${event-properties:item=EventId}
See Also