log4net SDK Reference

ColoredConsoleAppender Constructor (ILayout)

NOTE: This constructor is now obsolete.

Instead use the default constructor and set the Layout property


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

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

Parameters

layout
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

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