CountingQuietTextWriter 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 CountingQuietTextWriter(
    	TextWriter writer,
    	IErrorHandler errorHandler
    )

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

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

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

#### Parameters

writer
  Type: System.IO
  TextWriter
  The TextWriter to actually write to.
errorHandler
  Type: log4net.Core
  IErrorHandler
  The IErrorHandler to report errors to.

Remarks

Creates a new instance of the CountingQuietTextWriter class with the specified TextWriter and IErrorHandler.

See Also

#### Reference

CountingQuietTextWriter Class
log4net.Util Namespace