Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

CyclicBuffer.Append�Method�

Appends a loggingEvent to the buffer.

[Visual�Basic]
Public�Function�Append( _
���ByVal loggingEvent�As�LoggingEvent�_
)�As�LoggingEvent
[C#]
public�LoggingEvent�Append(
���LoggingEventloggingEvent
);

Parameters

loggingEvent
The event to append to the buffer.

Return Value

The event discarded from the buffer, if the buffer is full, otherwise null.

Remarks

Append an event to the buffer. If the buffer still contains free space then null is returned. If the buffer is full then an event will be dropped to make space for the new event, the event dropped is returned.

See Also

CyclicBuffer Class | log4net.Util Namespace