Logger CallAppenders Method | Apache log4net™ SDK Documentation

Deliver the LoggingEvent to the attached appenders.

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

C#
VB
C++
F#
Copy

    protected virtual void CallAppenders(
    	LoggingEvent loggingEvent
    )

    Protected Overridable Sub CallAppenders (
    	loggingEvent As LoggingEvent
    )

    protected:
    virtual void CallAppenders(
    	LoggingEvent^ loggingEvent
    )

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

#### Parameters

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

Remarks

Call the appenders in the hierarchy starting at this. If no appenders could be found, emit a warning.

This method calls all the appenders inherited from the hierarchy circumventing any evaluation of whether to log or not to log the particular log request.

See Also

#### Reference

Logger Class
log4net.Repository.Hierarchy Namespace