log4net SDK Reference |

# RootLogger Constructor

Construct a RootLogger

[Visual Basic]
Public Sub New( _
ByVal level As Level _
)
[C#]
public RootLogger(
Level level
);

#### Parameters

level
  The level to assign to the root logger.

#### Remarks

Initializes a new instance of the RootLogger class with the specified logging level.

The root logger names itself as "root". However, the root logger cannot be retrieved by name.

#### See Also

RootLogger Class | log4net.Repository.Hierarchy Namespace