ColoredConsoleAppender Constructor (ILayout)Apache log4net™ SDK Documentation

Note: This API is now obsolete.

Initializes a new instance of the ColoredConsoleAppender class with the specified layout.

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 property")]
public ColoredConsoleAppender(
	ILayout layout
)

Parameters

layout
Type: log4net.LayoutILayout
the layout to use for this appender
Remarks

The instance of the ColoredConsoleAppender class is set up to write to the standard output stream.
See Also

Reference