NLog.Targets.EventLogTarget
Writes log message to the Event Log.
Gets or sets the layout that renders event Category.
Optional entry type. When not set, or when not convertible to EventLogEntryType then determined by LogLevel
Gets or sets the layout that renders event ID.
Gets or sets the name of the Event Log to write to. This can be System, Application or any user-defined name.
Gets or sets the name of the machine on which Event Log service is running.
Gets or sets the maximum Event log size in kilobytes.
Gets or sets the message length limit to write to the Event Log.
Gets or sets the action to take if the message is larger than the MaxMessageLength option.
Gets or sets the value to be used as the event Source.
public EventLogTarget()
Initializes a new instance of the EventLogTarget class.
Initializes a new instance of the EventLogTarget class.
Performs installation which requires administrative permissions.
Determines whether the item is installed.
Performs uninstallation which requires administrative permissions.