EventLogAppenderAppend Method (LoggingEvent)Apache log4net™ SDK Documentation
This method is called by the DoAppend(LoggingEvent) method.

Namespace: log4net.Appender
Assembly: log4net (in log4net.dll) Version: 2.0.6.0-.NET 4.0
Syntax

protected override void Append(
	LoggingEvent loggingEvent
)

Parameters

loggingEvent
Type: log4net.CoreLoggingEvent
the event to log
Remarks

Writes the event to the system event log using the ApplicationName.

If the event has an EventID property (see Properties) set then this integer will be used as the event log event id.

There is a limit of 32K characters for an event log message

See Also

Reference