ProtectCloseTextWriter Attach Method | Apache log4net™ SDK Documentation

Attach this instance to a different underlying TextWriter

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

C#
VB
C++
F#
Copy

    public void Attach(
    	TextWriter writer
    )

    Public Sub Attach (
    	writer As TextWriter
    )

    public:
    void Attach(
    	TextWriter^ writer
    )

    member Attach :
            writer : TextWriter -> unit

#### Parameters

writer
  Type: System.IO
  TextWriter
  the writer to attach to

Remarks

Attach this instance to a different underlying TextWriter

See Also

#### Reference

ProtectCloseTextWriter Class
log4net.Util Namespace