public class LoggerOutputStream extends OutputStream
OutputStream
wrapper around a java Logger
.Modifier and Type | Field and Description |
---|---|
static String |
NUM_BYTES_PER_WRITE_PROPERTY |
Constructor and Description |
---|
LoggerOutputStream(Logger logger) |
LoggerOutputStream(Logger logger,
int numOfBytesPerWrite) |
LoggerOutputStream(Logger logger,
int numOfBytesPerWrite,
Level logLevel) |
LoggerOutputStream(Logger logger,
Level logLevel) |
public static final String NUM_BYTES_PER_WRITE_PROPERTY
public LoggerOutputStream(Logger logger) throws InstantiationException
InstantiationException
public LoggerOutputStream(Logger logger, Level logLevel) throws InstantiationException
InstantiationException
public LoggerOutputStream(Logger logger, int numOfBytesPerWrite) throws InstantiationException
InstantiationException
public LoggerOutputStream(Logger logger, int numOfBytesPerWrite, Level logLevel) throws InstantiationException
InstantiationException
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-2015 Apache OODT. All Rights Reserved.