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.


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.


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.


Namespace: log4net.Repository.Hierarchy

Assembly: log4net (in log4net.dll)

See Also

RootLogger Members | log4net.Repository.Hierarchy Namespace