EventLogAppender GetEntryType Method Apache log4net™ SDK Documentation
Get the equivalent OnlineEventLogEntryType for a Levellevel

Namespace: log4net.Appender
Assembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
Syntax

protected virtual EventLogEntryType GetEntryType(
	Level level
)

Parameters

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

Return Value

Type: OnlineEventLogEntryType
The equivalent OnlineEventLogEntryType for a Levellevel
Remarks

Because there are fewer applicable OnlineEventLogEntryType 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