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, write
public static final String NUM_BYTES_PER_WRITE_PROPERTY
public static final int VAL
public LoggerOutputStream(Logger logger) throws InstantiationException
InstantiationException
public LoggerOutputStream(Logger logger, int numOfBytesPerWrite)
public void write(int b) throws IOException
write
in class OutputStream
IOException
public void flush()
flush
in interface Flushable
flush
in class OutputStream
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class OutputStream
IOException
Copyright © 1999–2017 Apache OODT. All rights reserved.