log4net SDK Reference |

# 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

This type is not safe for multithreaded operations.

#### 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