public final class LoggingOutputStream extends WriterOutputStream
OutputStream which writes to a LoggingWriter.| Constructor and Description |
|---|
LoggingOutputStream(java.util.logging.Logger log,
java.util.logging.Level level)
Construct a new instance.
|
LoggingOutputStream(java.lang.String category,
java.util.logging.Level level)
Construct a new instance.
|
LoggingOutputStream(java.lang.String category,
java.lang.String levelName)
Construct a new instance.
|
close, flush, write, writepublic LoggingOutputStream(java.lang.String category,
java.lang.String levelName)
category - the log category to uselevelName - the name of the level at which to log messagespublic LoggingOutputStream(java.lang.String category,
java.util.logging.Level level)
category - the log category to uselevel - the level at which to log messagespublic LoggingOutputStream(java.util.logging.Logger log,
java.util.logging.Level level)
log - the logger to uselevel - the level at which to log messages