FileAppender OnClose Method | Apache log4net™ SDK Documentation

Close this appender instance. The underlying stream or writer is also closed.

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

C#
VB
C++
F#
Copy

    protected override void OnClose()

    Protected Overrides Sub OnClose

    protected:
    virtual void OnClose() override

    abstract OnClose : unit -> unit
    override OnClose : unit -> unit

See Also

#### Reference

FileAppender Class
log4net.Appender Namespace