RootLogger Constructor Apache log4net™ SDK Documentation
Construct a RootLogger

Namespace: log4net.Repository.Hierarchy
Assembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
Syntax

public RootLogger(
	Level level
)

Parameters

level
Type: log4net.Core 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