BufferingAppenderSkeleton Append Method (LoggingEvent) | Apache log4net™ SDK Documentation

This method is called by the DoAppend(LoggingEvent) method.

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

C#
VB
C++
F#
Copy

    protected override void Append(
    	LoggingEvent loggingEvent
    )

    Protected Overrides Sub Append (
    	loggingEvent As LoggingEvent
    )

    protected:
    virtual void Append(
    	LoggingEvent^ loggingEvent
    ) override

    abstract Append :
            loggingEvent : LoggingEvent -> unit
    override Append :
            loggingEvent : LoggingEvent -> unit

#### Parameters

loggingEvent
  Type: log4net.Core
  LoggingEvent
  the event to log

Remarks

Stores the loggingEvent in the cyclic buffer.

The buffer will be sent (i.e. passed to the SendBuffer(
LoggingEvent
) method) if one of the following conditions is met:

- The cyclic buffer is full and this appender is marked as not lossy (see Lossy)
- An Evaluator is set and it is triggered for the loggingEvent specified.

Before the event is stored in the buffer it is fixed (see FixVolatileData(FixFlags)) to ensure that any data referenced by the event will be valid when the buffer is processed.

See Also

#### Reference

BufferingAppenderSkeleton Class
Append Overload
log4net.Appender Namespace