MemoryAppender PopAllEvents Method | Apache log4net™ SDK Documentation

Gets the events that have been logged and clears the list of 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 LoggingEvent[] PopAllEvents()

    Public Overridable Function PopAllEvents As LoggingEvent()

    public:
    virtual array<LoggingEvent^>^ PopAllEvents()

    abstract PopAllEvents : unit -> LoggingEvent[]
    override PopAllEvents : unit -> LoggingEvent[]

#### Return Value

Type:
LoggingEvent
The events that have been logged
Remarks

Gets the events that have been logged and clears the list of events.

See Also

#### Reference

MemoryAppender Class
log4net.Appender Namespace