RollingFileAppender AdjustFileBeforeAppend Method | Apache log4net™ SDK Documentation

Performs any required rolling before outputting the next event

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

C#
VB
C++
F#
Copy

    protected virtual void AdjustFileBeforeAppend()

    Protected Overridable Sub AdjustFileBeforeAppend

    protected:
    virtual void AdjustFileBeforeAppend()

    abstract AdjustFileBeforeAppend : unit -> unit
    override AdjustFileBeforeAppend : unit -> unit

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
log4net.Appender Namespace