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

Subclasses of AppenderSkeleton should implement this method to perform actual logging.

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

C#
VB
C++
F#
Copy

    protected abstract void Append(
    	LoggingEvent loggingEvent
    )

    Protected MustOverride Sub Append (
    	loggingEvent As LoggingEvent
    )

    protected:
    virtual void Append(
    	LoggingEvent^ loggingEvent
    ) abstract

    abstract Append :
            loggingEvent : LoggingEvent -> unit

#### Parameters

loggingEvent
  Type: log4net.Core
  LoggingEvent
  The event to append.

Remarks

A subclass must implement this method to perform logging of the loggingEvent.

This method will be called by [M:DoAppend(LoggingEvent)] if all the conditions listed for that method are met.

To restrict the logging of events in the appender override the [M:PreAppendCheck()] method.

See Also

#### Reference

AppenderSkeleton Class
Append Overload
log4net.Appender Namespace