Package de.dytanic.cloudnet.wrapper.log
Class InternalPrintStreamLogHandler
- java.lang.Object
-
- de.dytanic.cloudnet.common.logging.AbstractLogHandler
-
- de.dytanic.cloudnet.wrapper.log.InternalPrintStreamLogHandler
-
- All Implemented Interfaces:
de.dytanic.cloudnet.common.logging.ILogHandler,java.lang.AutoCloseable
public final class InternalPrintStreamLogHandler extends de.dytanic.cloudnet.common.logging.AbstractLogHandlerA redirect log handler, to the origin output and error stream. The LogOutputStream will replace the System.out and System.err stream after this initialization by the Wrapper
-
-
Constructor Summary
Constructors Constructor Description InternalPrintStreamLogHandler(java.io.PrintStream outputStream, java.io.PrintStream errorStream)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidhandle(@NotNull de.dytanic.cloudnet.common.logging.LogEntry logEntry)
-