Common Logging 2.0 API Reference

LogManager.Reset(IConfigurationReader) 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( _
   ByVal reader As IConfigurationReader _
)
[C#]
public static void Reset(
   IConfigurationReader reader
);

Parameters

reader
the IConfigurationReader instance to obtain settings for re-initializing the LogManager.

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