LoggerRepositorySkeleton ResetConfiguration Method | Apache log4net™ SDK Documentation

Reset the repositories configuration to a default state

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

C#
VB
C++
F#
Copy

    public virtual void ResetConfiguration()

    Public Overridable Sub ResetConfiguration

    public:
    virtual void ResetConfiguration()

    abstract ResetConfiguration : unit -> unit
    override ResetConfiguration : unit -> unit

#### Implements

ILoggerRepository
ResetConfiguration
Remarks

Reset all values contained in this instance to their default state.

Existing loggers are not removed. They are just reset.

This method should be used sparingly and with care as it will block all logging until it is completed.

See Also

#### Reference

LoggerRepositorySkeleton Class
log4net.Repository Namespace