Click or drag to resize

LogEventInfoBufferGetEventsAndClear Method

Gets the array of events accumulated in the buffer and clears the buffer as one atomic operation.

Namespace:  NLog.Common
Assembly:  NLog (in NLog.dll) Version: 5.2.0+eed5f76d158dbcaef9326f7a0e1c281adad171e8
Syntax
public AsyncLogEventInfo[] GetEventsAndClear()

Return Value

Type: AsyncLogEventInfo
Events in the buffer.
See Also