LevelMap Add Method (String, Int32, String) | 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,
    	string displayName
    )

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

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

    member Add :
            name : string *
            value : int *
            displayName : string -> 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
displayName
  Type: System
  String
  the display name 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