Common Logging 2.0 API Reference

LogManager.Reset() Method

Reset the Common.Logging infrastructure to its default settings. This means, that configuration settings will be re-read from section <common/logging> of your app.config.

[Visual Basic]
Public Overloads Shared Sub Reset()
[C#]
public static void Reset();

Remarks

This is mainly used for unit testing, you wouldn't normally use this in your applications.
Note:ILog instances already handed out from this LogManager are not(!) affected. Resetting LogManager only affects new instances being handed out.

See Also

LogManager Class | Common.Logging Namespace | LogManager.Reset Overload List