log4net SDK Reference

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(
   ILayout layout
);

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