LocalSyslogAppender AddMapping Method | Apache log4net™ SDK Documentation

Add a mapping of level to severity

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

C#
VB
C++
F#
Copy

    public void AddMapping(
    	LocalSyslogAppenderLevelSeverity mapping
    )

    Public Sub AddMapping (
    	mapping As LocalSyslogAppenderLevelSeverity
    )

    public:
    void AddMapping(
    	LocalSyslogAppenderLevelSeverity^ mapping
    )

    member AddMapping :
            mapping : LocalSyslogAppenderLevelSeverity -> unit

#### Parameters

mapping
  Type: log4net.Appender
  LocalSyslogAppender
  LevelSeverity
  The mapping to add

Remarks

Adds a LocalSyslogAppender
LevelSeverity to this appender.

See Also

#### Reference

LocalSyslogAppender Class
log4net.Appender Namespace