Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

ConsoleAppender�Constructor�(ILayout)

NOTE: This constructor is now obsolete.

Instead use the default constructor and set the Layout property


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

[Visual�Basic]
Overloads�Public�Sub�New( _
���ByVal layout�As�ILayout�_
)
[C#]
public�ConsoleAppender(
���ILayoutlayout
);

Parameters

layout
the layout to use for this appender

Remarks

The instance of the ConsoleAppender class is set up to write to the standard output stream.

See Also

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