ProtectCloseTextWriter 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 ProtectCloseTextWriter(
    	TextWriter writer
    )

    Public Sub New (
    	writer As TextWriter
    )

    public:
    ProtectCloseTextWriter(
    	TextWriter^ writer
    )

    new :
            writer : TextWriter -> ProtectCloseTextWriter

#### Parameters

writer
  Type: System.IO
  TextWriter
  the writer to actually write to

Remarks

Create a new ProtectCloseTextWriter using a writer

See Also

#### Reference

ProtectCloseTextWriter Class
log4net.Util Namespace