CyclicBuffer Length Property | Apache log4net™ SDK Documentation

Gets the number of logging events in the buffer.

Namespace: log4net.Util
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

C#
VB
C++
F#
Copy

    public int Length { get; }

    Public ReadOnly Property Length As Integer
    	Get

    public:
    property int Length {
    	int get ();
    }

    member Length : int with get

#### Property Value

Type: Int32
The number of logging events in the buffer.
Remarks

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

See Also

#### Reference

CyclicBuffer Class
log4net.Util Namespace