AppenderAttachedImpl AppendLoopOnAppenders Method ( LoggingEvent ) | Apache log4net™ SDK Documentation

Append on on all attached appenders.

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

C#
VB
C++
F#
Copy

    public int AppendLoopOnAppenders(
    	LoggingEvent[] loggingEvents
    )

    Public Function AppendLoopOnAppenders (
    	loggingEvents As LoggingEvent()
    ) As Integer

    public:
    int AppendLoopOnAppenders(
    	array<LoggingEvent^>^ loggingEvents
    )

    member AppendLoopOnAppenders :
            loggingEvents : LoggingEvent[] -> int

#### Parameters

loggingEvents
  Type:
  log4net.Core
  LoggingEvent
  The array of events being logged.

#### Return Value

Type: Int32
The number of appenders called.
Remarks

Calls the DoAppend(LoggingEvent) method on all attached appenders.

See Also

#### Reference

AppenderAttachedImpl Class
AppendLoopOnAppenders Overload
log4net.Util Namespace