FileAppender Constructor (ILayout, String)Apache log4net™ SDK Documentation

Note: This API is now obsolete.

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

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

[ObsoleteAttribute("Instead use the default constructor and set the Layout & File properties")]
public FileAppender(
	ILayout layout,
	string filename
)

Parameters

layout
Type: log4net.LayoutILayout
the layout to use with this appender
filename
Type: SystemString
the full path to the file to write to
Remarks

Obsolete constructor.

See Also

Reference