EventLogAppenderGetEntryType Method Apache log4net™ SDK Documentation
Get the equivalent EventLogEntryType for a Levellevel

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

protected virtual EventLogEntryType GetEntryType(
	Level level
)

Parameters

level
Type: log4net.CoreLevel
the Level to convert to an EventLogEntryType

Return Value

Type: EventLogEntryType
The equivalent EventLogEntryType for a Levellevel
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

Reference