public class Log4jOutputStream extends OutputStream
| Constructor and Description |
|---|
Log4jOutputStream(org.apache.log4j.Logger loggerIn,
org.apache.log4j.Level levelIn)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flush() |
void |
write(int b) |
write, writepublic Log4jOutputStream(org.apache.log4j.Logger loggerIn,
org.apache.log4j.Level levelIn)
loggerIn - the logger to log output tolevelIn - the level at which to log messages atpublic final void close()
close in interface Closeableclose in interface AutoCloseableclose in class OutputStreampublic final void write(int b)
throws IOException
write in class OutputStreamIOExceptionpublic final void flush()
flush in interface Flushableflush in class OutputStreamCopyright © 2015. All Rights Reserved.