Initializes a new instance of the
ConsoleAppender class
with the specified layout.
Namespace: log4net.AppenderAssembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
[ObsoleteAttribute("Instead use the default constructor and set the Layout & Target properties")]
public ConsoleAppender(
ILayout layout,
bool writeToErrorStream
)
[ObsoleteAttribute("Instead use the default constructor and set the Layout & Target properties")]
public ConsoleAppender(
ILayout layout,
bool writeToErrorStream
)
<ObsoleteAttribute("Instead use the default constructor and set the Layout & Target properties")>
Public Sub New (
layout As ILayout,
writeToErrorStream As Boolean
)
<ObsoleteAttribute("Instead use the default constructor and set the Layout & Target properties")>
Public Sub New (
layout As ILayout,
writeToErrorStream As Boolean
)
public:
[ObsoleteAttribute(L"Instead use the default constructor and set the Layout & Target properties")]
ConsoleAppender(
ILayout^ layout,
bool writeToErrorStream
)
public:
[ObsoleteAttribute(L"Instead use the default constructor and set the Layout & Target properties")]
ConsoleAppender(
ILayout^ layout,
bool writeToErrorStream
)
When
writeToErrorStream is set to
true, output is written to
the standard error output stream. Otherwise, output is written to the standard
output stream.