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

Write out an array of logging events.

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[] loggingEvents
    )

    Protected Overrides Sub Append (
    	loggingEvents As LoggingEvent()
    )

    protected:
    virtual void Append(
    	array<LoggingEvent^>^ loggingEvents
    ) override

    abstract Append :
            loggingEvents : LoggingEvent[] -> unit
    override Append :
            loggingEvents : LoggingEvent[] -> unit

#### Parameters

loggingEvents
  Type:
  log4net.Core
  LoggingEvent
  the events to write to file.

Remarks

Handles append time behavior for RollingFileAppender. This checks if a roll over either by date (checked first) or time (checked second) is need and then appends to the file last.

See Also

#### Reference

RollingFileAppender Class
Append Overload
log4net.Appender Namespace