log4net SDK Reference

FileAppender Constructor (ILayout, String, Boolean)

NOTE: This constructor is now obsolete.

Instead use the default constructor and set the Layout, File & AppendToFile properties


Construct a new appender using the layout, file and append mode.

[Visual Basic]
Overloads Public Sub New( _
   ByVal layout As ILayout, _
   ByVal filename As String, _
   ByVal append As Boolean _
)
[C#]
public FileAppender(
   ILayout layout,
   string filename,
   bool append
);

Parameters

layout
the layout to use with this appender
filename
the full path to the file to write to
append
flag to indicate if the file should be appended to

Remarks

Obsolete constructor.

See Also

FileAppender Class | log4net.Appender Namespace | FileAppender Constructor Overload List