log4net SDK Reference |

# CyclicBuffer.PopOldest Method

Get and remove the oldest event in the buffer.

[Visual Basic]
Public Function PopOldest() As LoggingEvent
[C#]
public LoggingEvent PopOldest();

#### Return Value

The oldest logging event in the buffer

#### Remarks

Gets the oldest (first) logging event in the buffer and removes it from the buffer.

#### See Also

CyclicBuffer Class | log4net.Util Namespace