log4net SDK Documentation - Microsoft .NET Framework 4.0

QuietTextWriter Class

TextWriter that does not leak exceptions

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

System.Object
   System.MarshalByRefObject
      System.IO.TextWriter
         log4net.Util.TextWriterAdapter
            log4net.Util.QuietTextWriter
               log4net.Util.CountingQuietTextWriter

[Visual Basic]
Public Class QuietTextWriter
    Inherits TextWriterAdapter
[C#]
public class QuietTextWriter : 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.

Remarks

QuietTextWriter does not throw exceptions when things go wrong. Instead, it delegates error handling to its IErrorHandler.

Requirements

Namespace: log4net.Util

Assembly: log4net (in log4net.dll)

See Also

QuietTextWriter Members | log4net.Util Namespace