Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

RootLogger Class

The RootLogger sits at the root of the logger hierarchy tree.

For a list of all members of this type, see RootLogger Members.

System.Object
���log4net.Repository.Hierarchy.Logger
������log4net.Repository.Hierarchy.RootLogger

[Visual�Basic]
Public�Class�RootLogger
����Inherits�Logger
[C#]
public�class�RootLogger : Logger

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

The RootLogger is a regular Logger except that it provides several guarantees.

First, it cannot be assigned a null level. Second, since the root logger cannot have a parent, the EffectiveLevel property always returns the value of the level field without walking the hierarchy.

Requirements

Namespace: log4net.Repository.Hierarchy

Assembly: log4net (in log4net.dll)

See Also

RootLogger Members | log4net.Repository.Hierarchy Namespace