Package de.dytanic.cloudnet.log
Class QueuedConsoleLogHandler
- java.lang.Object
-
- de.dytanic.cloudnet.log.QueuedConsoleLogHandler
-
- All Implemented Interfaces:
de.dytanic.cloudnet.common.logging.ILogHandler,java.lang.AutoCloseable
public final class QueuedConsoleLogHandler extends java.lang.Object implements de.dytanic.cloudnet.common.logging.ILogHandlerA logging handler for developers, that can easy handle and get the logging outputs from this node instance
-
-
Constructor Summary
Constructors Constructor Description QueuedConsoleLogHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()java.util.Queue<de.dytanic.cloudnet.common.logging.LogEntry>getCachedQueuedLogEntries()voidhandle(@NotNull de.dytanic.cloudnet.common.logging.LogEntry logEntry)
-
-
-
Method Detail
-
handle
public void handle(@NotNull @NotNull de.dytanic.cloudnet.common.logging.LogEntry logEntry)- Specified by:
handlein interfacede.dytanic.cloudnet.common.logging.ILogHandler
-
close
public void close()
- Specified by:
closein interfacejava.lang.AutoCloseable
-
getCachedQueuedLogEntries
public java.util.Queue<de.dytanic.cloudnet.common.logging.LogEntry> getCachedQueuedLogEntries()
-
-