LevelMap Add Method (String, Int32) | Apache log4net™ SDK Documentation

Create a new Level and add it to the map

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

C#
VB
C++
F#
Copy

    public void Add(
    	string name,
    	int value
    )

    Public Sub Add (
    	name As String,
    	value As Integer
    )

    public:
    void Add(
    	String^ name,
    	int value
    )

    member Add :
            name : string *
            value : int -> unit

#### Parameters

name
  Type: System
  String
  the string to display for the Level
value
  Type: System
  Int32
  the level value to give to the Level

Remarks

Create a new Level and add it to the map

See Also

#### Reference

LevelMap Class
Add Overload
log4net.Core Namespace
[M:Add(string,int,string)]