Class 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.ILogHandler
    A logging handler for developers, that can easy handle and get the logging outputs from this node instance
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      java.util.Queue<de.dytanic.cloudnet.common.logging.LogEntry> getCachedQueuedLogEntries()  
      void handle​(@NotNull de.dytanic.cloudnet.common.logging.LogEntry logEntry)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • QueuedConsoleLogHandler

        public QueuedConsoleLogHandler()
    • Method Detail

      • handle

        public void handle​(@NotNull
                           @NotNull de.dytanic.cloudnet.common.logging.LogEntry logEntry)
        Specified by:
        handle in interface de.dytanic.cloudnet.common.logging.ILogHandler
      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable
      • getCachedQueuedLogEntries

        public java.util.Queue<de.dytanic.cloudnet.common.logging.LogEntry> getCachedQueuedLogEntries()