EventLogAppenderEventId Property Apache log4net™ SDK Documentation
Gets or sets the EventId to use unless one is explicitly specified via the LoggingEvent's properties.

Namespace: log4net.Appender
Assembly: log4net (in log4net.dll) Version: 4.0

public int EventId { get; set; }

Property Value

Type: Int32

The EventID of the event log entry will normally be set using the EventID property (Properties) on the LoggingEvent. This property provides the fallback value which defaults to 0.

See Also