log4net SDK Reference

RollingFileAppender.Append Method (LoggingEvent)

Write out a logging event.

[Visual Basic]
Overrides Overloads Protected Sub Append( _
   ByVal loggingEvent As LoggingEvent _
)
[C#]
protected override void Append(
   LoggingEvent loggingEvent
);

Parameters

loggingEvent
the event 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

RollingFileAppender Class | log4net.Appender Namespace | RollingFileAppender.Append Overload List