Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

LoggerManager.ResetConfiguration�Method�(String)

Resets all values contained in this repository instance to their defaults.

[Visual�Basic]
Overloads�Public�Shared�Sub�ResetConfiguration( _
���ByVal repository�As�String�_
)
[C#]
public�static�void�ResetConfiguration(
���stringrepository
);

Parameters

repository
The repository to reset.

Remarks

Resets all values contained in the repository instance to their defaults. This removes all appenders from all loggers, sets the level of all non-root loggers to null, sets their additivity flag to true and sets the level of the root logger to Debug. Moreover, message disabling is set its default "off" value.

See Also

LoggerManager Class | log4net.Core Namespace | LoggerManager.ResetConfiguration Overload List