Length Property

log4net SDK Reference |

# CyclicBuffer.Length Property

Gets the number of logging events in the buffer.

[Visual Basic]
Public ReadOnly Property Length As Integer
[C#]
public int Length {get;}

#### Property Value

The number of logging events in the buffer.

#### Remarks

This number is guaranteed to be in the range 0 to MaxSize (inclusive).

#### See Also

CyclicBuffer Class | log4net.Util Namespace