public class SenderOutputStream extends OutputStream
Constructor and Description |
---|
SenderOutputStream(ICommandSender sender) |
Modifier and Type | Method and Description |
---|---|
void |
flush()
Flushes the output stream.
|
void |
write(int i)
https://stackoverflow.com/questions/6995946/log4j-how-do-i-redirect-an-outputstream-or-writer-to-loggers-writers
|
close, write, write
public SenderOutputStream(ICommandSender sender)
public void write(int i) throws IOException
write
in class OutputStream
i
- IOException
public void flush()
flush
in interface Flushable
flush
in class OutputStream