Package net.md_5.bungee.log
Class LoggingOutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- java.io.ByteArrayOutputStream
-
- net.md_5.bungee.log.LoggingOutputStream
-
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
public class LoggingOutputStream extends ByteArrayOutputStream
-
-
Field Summary
-
Fields inherited from class java.io.ByteArrayOutputStream
buf, count
-
-
Constructor Summary
Constructors Constructor Description LoggingOutputStream(Logger logger, Level level)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidflush()-
Methods inherited from class java.io.ByteArrayOutputStream
close, reset, size, toByteArray, toString, toString, toString, write, write, writeTo
-
Methods inherited from class java.io.OutputStream
write
-
-
-
-
Method Detail
-
flush
public void flush() throws IOException- Specified by:
flushin interfaceFlushable- Overrides:
flushin classOutputStream- Throws:
IOException
-
-