log4net SDK Reference |

# FileAppender Constructor (ILayout, String)

NOTE: This constructor is now obsolete.

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

Construct a new appender using the layout and file specified. The file will be appended to.

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

#### Parameters

layout
  the layout to use with this appender
filename
  the full path to the file to write to

#### Remarks

Obsolete constructor.

#### See Also

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