FileAppender CloseFile Method | Apache log4net™ SDK Documentation

Closes the previously opened file.

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

C#
VB
C++
F#
Copy

    protected void CloseFile()

    Protected Sub CloseFile

    protected:
    void CloseFile()

    member CloseFile : unit -> unit

Remarks

Writes the Footer to the file and then closes the file.

See Also

#### Reference

FileAppender Class
log4net.Appender Namespace