A fixed size rolling buffer of logging events.
Inheritance Hierarchy
log4net.UtilCyclicBuffer
Namespace: log4net.Util
Assembly: log4net (in log4net.dll) Version: 2.0.6.0-.NET 4.0
Syntax
The CyclicBuffer type exposes the following members.
Constructors
Name | Description | |
---|---|---|
CyclicBuffer |
Constructor
|
Properties
Name | Description | |
---|---|---|
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.
|
Methods
Name | Description | |
---|---|---|
Append |
Appends a loggingEvent to the buffer.
| |
Clear |
Clear the buffer
| |
Equals | (Inherited from Object.) | |
Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
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.) |
Remarks
An array backed fixed size leaky bucket.
See Also