log4net SDK Reference

CyclicBuffer Members

CyclicBuffer overview

Public Instance Constructors

CyclicBuffer Constructor Constructor

Public Instance Properties

Item Gets the ith oldest event currently in the buffer.
Length Gets the number of logging events in the buffer.
MaxSize Gets the maximum size of the buffer.

Public Instance Methods

Append Appends a loggingEvent to the buffer.
Clear Clear the buffer
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
PopAll Pops all the logging events from the buffer into an array.
PopOldest Get and remove the oldest event in the buffer.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

CyclicBuffer Class | log4net.Util Namespace