Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

EventLogAppender.GetEntryType�Method�

Get the equivalent EventLogEntryType for a Level level

[Visual�Basic]
Overridable�Protected�Function�GetEntryType( _
���ByVal level�As�Level�_
)�As�EventLogEntryType
[C#]
protected�virtual�EventLogEntryType�GetEntryType(
���Levellevel
);

Parameters

level
the Level to convert to an EventLogEntryType

Return Value

The equivalent EventLogEntryType for a Level level

Remarks

Because there are fewer applicable EventLogEntryType values to use in logging levels than there are in the Level this is a one way mapping. There is a loss of information during the conversion.

See Also

EventLogAppender Class | log4net.Appender Namespace