Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

ProtectCloseTextWriter Class

A TextWriter that ignores the Close message

For a list of all members of this type, see ProtectCloseTextWriter Members.


public�class�ProtectCloseTextWriter : TextWriterAdapter

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.


This writer is used in special cases where it is necessary to protect a writer from being closed by a client.


Namespace: log4net.Util

Assembly: log4net (in log4net.dll)

See Also

ProtectCloseTextWriter Members | log4net.Util Namespace