LevelMapping Add Method | Apache log4net™ SDK Documentation

Add a LevelMappingEntry to this mapping

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

C#
VB
C++
F#
Copy

    public void Add(
    	LevelMappingEntry entry
    )

    Public Sub Add (
    	entry As LevelMappingEntry
    )

    public:
    void Add(
    	LevelMappingEntry^ entry
    )

    member Add :
            entry : LevelMappingEntry -> unit

#### Parameters

entry
  Type: log4net.Util
  LevelMappingEntry
  the entry to add

Remarks

If a LevelMappingEntry has previously been added for the same Level then that entry will be overwritten.

See Also

#### Reference

LevelMapping Class
log4net.Util Namespace