IAppender Close Method | Apache log4net™ SDK Documentation

Closes the appender and releases resources.

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

C#
VB
C++
F#
Copy

    void Close()

    Sub Close

    void Close()

    abstract Close : unit -> unit

Remarks

Releases any resources allocated within the appender such as file handles, network connections, etc.

It is a programming error to append to a closed appender.

See Also

#### Reference

IAppender Interface
log4net.Appender Namespace