Class QuietWriter
java.lang.Object
java.io.Writer
java.io.FilterWriter
org.apache.log4j.helpers.QuietWriter
- All Implemented Interfaces:
Closeable, Flushable, Appendable, AutoCloseable
- Direct Known Subclasses:
CountingQuietWriter
QuietWriter does not throw exceptions when things go
wrong. Instead, it delegates error handling to its
ErrorHandler.-
Field Summary
FieldsFields inherited from class FilterWriter
out -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class FilterWriter
close, write, write, write
-
Field Details
-
errorHandler
-
-
Constructor Details
-
QuietWriter
-
-
Method Details
-
write
-
flush
public void flush()- Specified by:
flushin interfaceFlushable- Overrides:
flushin classFilterWriter
-
setErrorHandler
-