FileAppender MinimalLock CloseFile Method | Apache log4net™ SDK Documentation

Close the file

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

C#
VB
C++
F#
Copy

    public override void CloseFile()

    Public Overrides Sub CloseFile

    public:
    virtual void CloseFile() override

    abstract CloseFile : unit -> unit
    override CloseFile : unit -> unit

Remarks

Close the file. No further writes will be made.

See Also

#### Reference

FileAppender
MinimalLock Class
log4net.Appender Namespace