public class LoggerOutputStream extends OutputStream
OutputStream wrapper around a java Logger.| Modifier and Type | Field and Description |
|---|---|
static String |
NUM_BYTES_PER_WRITE_PROPERTY |
static int |
VAL |
| Constructor and Description |
|---|
LoggerOutputStream(Logger logger) |
LoggerOutputStream(Logger logger,
int numOfBytesPerWrite) |
LoggerOutputStream(Logger logger,
int numOfBytesPerWrite,
Level logLevel) |
LoggerOutputStream(Logger logger,
Level logLevel) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flush() |
void |
write(int b) |
write, writepublic static final String NUM_BYTES_PER_WRITE_PROPERTY
public static final int VAL
public LoggerOutputStream(Logger logger) throws InstantiationException
InstantiationExceptionpublic LoggerOutputStream(Logger logger, int numOfBytesPerWrite)
public void write(int b)
throws IOException
write in class OutputStreamIOExceptionpublic void flush()
flush in interface Flushableflush in class OutputStreampublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class OutputStreamIOExceptionCopyright © 1999–2017 Apache OODT. All rights reserved.