DebugAppender Flush Method | Apache log4net™ SDK Documentation

Flushes any buffered log data.

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

C#
VB
C++
F#
Copy

    public override bool Flush(
    	int millisecondsTimeout
    )

    Public Overrides Function Flush (
    	millisecondsTimeout As Integer
    ) As Boolean

    public:
    virtual bool Flush(
    	int millisecondsTimeout
    ) override

    abstract Flush :
            millisecondsTimeout : int -> bool
    override Flush :
            millisecondsTimeout : int -> bool

#### Parameters

millisecondsTimeout
  Type: System
  Int32
  The maximum time to wait for logging events to be flushed.

#### Return Value

Type: Boolean
True if all logging events were flushed successfully, else false.

#### Implements

IFlushable
Flush(Int32)
See Also

#### Reference

DebugAppender Class
log4net.Appender Namespace