BufferingAppenderSkeleton Flush Method | Apache log4net™ SDK Documentation

Flush the currently buffered events

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

C#
VB
C++
F#
Copy

    public virtual void Flush()

    Public Overridable Sub Flush

    public:
    virtual void Flush()

    abstract Flush : unit -> unit
    override Flush : unit -> unit

Remarks

Flushes any events that have been buffered.

If the appender is buffering in Lossy mode then the contents of the buffer will NOT be flushed to the appender.

See Also

#### Reference

BufferingAppenderSkeleton Class
Flush Overload
log4net.Appender Namespace