Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

RootLogger�Constructor�

Construct a RootLogger

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

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