Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

EventLogAppender.Append�Method�(LoggingEvent)

This method is called by the DoAppend method.

[Visual�Basic]
Overrides�Overloads�Protected�Sub�Append( _
���ByVal loggingEvent�As�LoggingEvent�_
)
[C#]
protected�override�void�Append(
���LoggingEventloggingEvent
);

Parameters

loggingEvent
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

EventLogAppender Class | log4net.Appender Namespace | EventLogAppender.Append Overload List