Level Constructor (Int32, String) | Apache log4net™ SDK Documentation

Constructor

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

C#
VB
C++
F#
Copy

    public Level(
    	int level,
    	string levelName
    )

    Public Sub New (
    	level As Integer,
    	levelName As String
    )

    public:
    Level(
    	int level,
    	String^ levelName
    )

    new :
            level : int *
            levelName : string -> Level

#### Parameters

level
  Type: System
  Int32
  Integer value for this level, higher values represent more severe levels.
levelName
  Type: System
  String
  The string name of this level.

Remarks

Initializes a new instance of the Level class with the specified level name and value.

See Also

#### Reference

Level Class
Level Overload
log4net.Core Namespace