CyclicBuffer PopAll Method | Apache log4net™ SDK Documentation

Pops all the logging events from the buffer into an array.

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

C#
VB
C++
F#
Copy

    public LoggingEvent[] PopAll()

    Public Function PopAll As LoggingEvent()

    public:
    array<LoggingEvent^>^ PopAll()

    member PopAll : unit -> LoggingEvent[]

#### Return Value

Type:
LoggingEvent
An array of all the logging events in the buffer.
Remarks

Get all the events in the buffer and clear the buffer.

See Also

#### Reference

CyclicBuffer Class
log4net.Util Namespace