public class LoggerOutputStream
extends java.io.OutputStream
Constructor and Description |
---|
LoggerOutputStream(org.apache.log4j.Level level)
The constructor
|
public LoggerOutputStream(org.apache.log4j.Level level)
level
- The log level to output topublic void write(int c) throws java.io.IOException
write
in class java.io.OutputStream
java.io.IOException
protected void log(java.lang.String msg)
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.io.OutputStream
java.io.IOException