Namespace: log4net.AppenderAssembly: log4net (in log4net.dll) Version: 2.0.6.0-.NET 4.0
protected virtual EventLogEntryType GetEntryType(
Level level
)
Protected Overridable Function GetEntryType (
level As Level
) As EventLogEntryType
protected:
virtual EventLogEntryType GetEntryType(
Level^ level
)
abstract GetEntryType :
level : Level -> EventLogEntryType
override GetEntryType :
level : Level -> EventLogEntryType
Parameters
- level
- Type: log4net.CoreLevel
the Level to convert to an EventLogEntryType
Return Value
Type:
EventLogEntryTypeThe equivalent
EventLogEntryType for a
Levellevel
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.
Reference