Class LogOutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- java.io.ByteArrayOutputStream
-
- de.dytanic.cloudnet.common.logging.LogOutputStream
-
- All Implemented Interfaces:
java.io.Closeable,java.io.Flushable,java.lang.AutoCloseable
public class LogOutputStream extends java.io.ByteArrayOutputStreamDefines a new ByteArrayOutputStream that convert the bytes into a message and invokes the in constructor exist logger
-
-
Constructor Summary
Constructors Constructor Description LogOutputStream(int size, ILogger logger, LogLevel logLevel)LogOutputStream(ILogger logger, LogLevel logLevel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidflush()ILoggergetLogger()LogLevelgetLogLevel()
-