Note: This API is now obsolete.
Initializes a new instance of the ConsoleAppender class
with the specified layout.
Namespace: log4net.Appender
Assembly: log4net (in log4net.dll) Version: 2.0.6.0-.NET 4.0
Syntax
[ObsoleteAttribute("Instead use the default constructor and set the Layout & Target properties")] public ConsoleAppender( ILayout layout, bool writeToErrorStream )
Parameters
- layout
- Type: log4net.LayoutILayout
the layout to use for this appender - writeToErrorStream
- Type: SystemBoolean
flag set to true to write to the console error stream
Remarks
See Also