Logger CloseNestedAppenders Method | Apache log4net™ SDK Documentation

Closes all attached appenders implementing the IAppenderAttachable interface.

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

C#
VB
C++
F#
Copy

    public virtual void CloseNestedAppenders()

    Public Overridable Sub CloseNestedAppenders

    public:
    virtual void CloseNestedAppenders()

    abstract CloseNestedAppenders : unit -> unit
    override CloseNestedAppenders : unit -> unit

Remarks

Used to ensure that the appenders are correctly shutdown.

See Also

#### Reference

Logger Class
log4net.Repository.Hierarchy Namespace