log4net SDK Reference

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

This type is not safe for multithreaded operations.

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