EventLogAppenderAddMapping Method Apache log4net™ SDK Documentation
Add a mapping of level to EventLogEntryType - done by the config file

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

public void AddMapping(
	EventLogAppenderLevel2EventLogEntryType mapping
)

Parameters

mapping
Type: log4net.AppenderEventLogAppenderLevel2EventLogEntryType
The mapping to add
Remarks

Add a EventLogAppenderLevel2EventLogEntryType mapping to this appender. Each mapping defines the event log entry type for a level.

See Also

Reference