Click or drag to resize

LogEventInfoBuffer Class

Note: This API is now obsolete.

A cyclic buffer of LogEventInfo object.
Inheritance Hierarchy
SystemObject
  NLog.CommonLogEventInfoBuffer

Namespace:  NLog.Common
Assembly:  NLog (in NLog.dll) Version: 5.2.0+eed5f76d158dbcaef9326f7a0e1c281adad171e8
Syntax
[ObsoleteAttribute("Use AsyncRequestQueue instead. Marked obsolete on NLog 5.0")]
public class LogEventInfoBuffer

The LogEventInfoBuffer type exposes the following members.

Constructors
  NameDescription
Public methodLogEventInfoBuffer
Initializes a new instance of the LogEventInfoBuffer class.
Top
Properties
  NameDescription
Public propertySize
Gets the capacity of the buffer
Top
Methods
  NameDescription
Public methodAppend
Adds the specified log event to the buffer.
Public methodGetEventsAndClear
Gets the array of events accumulated in the buffer and clears the buffer as one atomic operation.
Top
See Also