log4net SDK Reference |

# Hierarchy.Clear Method

Clear all logger definitions from the internal hashtable

[Visual Basic]
Public Sub Clear()
[C#]
public void Clear();

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

Hierarchy Class | log4net.Repository.Hierarchy Namespace