CyclicBufferAppend Method Apache log4net™ SDK Documentation
Appends a loggingEvent to the buffer.

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

public LoggingEvent Append(
	LoggingEvent loggingEvent
)

Parameters

loggingEvent
Type: log4net.CoreLoggingEvent
The event to append to the buffer.

Return Value

Type: LoggingEvent
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

Reference