Click or drag to resize
LogEventInfoBuffer Class
A cyclic buffer of LogEventInfo object.
Inheritance Hierarchy
SystemObject
  NLog.CommonLogEventInfoBuffer

Namespace: NLog.Common
Assembly: NLog (in NLog.dll) Version: 4.3.0
Syntax
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 number of items in the array.
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