QuietTextWriter Constructor | Apache log4net™ SDK Documentation

Constructor

Namespace: log4net.Util
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

C#
VB
C++
F#
Copy

    public QuietTextWriter(
    	TextWriter writer,
    	IErrorHandler errorHandler
    )

    Public Sub New (
    	writer As TextWriter,
    	errorHandler As IErrorHandler
    )

    public:
    QuietTextWriter(
    	TextWriter^ writer,
    	IErrorHandler^ errorHandler
    )

    new :
            writer : TextWriter *
            errorHandler : IErrorHandler -> QuietTextWriter

#### Parameters

writer
  Type: System.IO
  TextWriter
  the writer to actually write to
errorHandler
  Type: log4net.Core
  IErrorHandler
  the error handler to report error to

Remarks

Create a new QuietTextWriter using a writer and error handler

See Also

#### Reference

QuietTextWriter Class
log4net.Util Namespace