FileAppender PrepareWriter Method | Apache log4net™ SDK Documentation

Called to initialize the file writer

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 PrepareWriter()

    Protected Overrides Sub PrepareWriter

    protected:
    virtual void PrepareWriter() override

    abstract PrepareWriter : unit -> unit
    override PrepareWriter : unit -> unit

Remarks

Will be called for each logged message until the file is successfully opened.

See Also

#### Reference

FileAppender Class
log4net.Appender Namespace