Hierarchy Clear Method | Apache log4net™ SDK Documentation

Clear all logger definitions from the internal hashtable

Namespace: log4net.Repository.Hierarchy
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

C#
VB
C++
F#
Copy

    public void Clear()

    Public Sub Clear

    public:
    void Clear()

    member Clear : unit -> unit

Remarks

This call will clear all logger definitions from the internal hashtable. Invoking this method will irrevocably mess up the logger hierarchy.

You should really know what you are doing before invoking this method.

See Also

#### Reference

Hierarchy Class
log4net.Repository.Hierarchy Namespace