Class ConsoleLogHandler

  • All Implemented Interfaces:
    de.dytanic.cloudnet.common.logging.ILogHandler, java.lang.AutoCloseable

    public final class ConsoleLogHandler
    extends de.dytanic.cloudnet.common.logging.AbstractLogHandler
    • Field Summary

      • Fields inherited from class de.dytanic.cloudnet.common.logging.AbstractLogHandler

        formatter
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      @NotNull IConsole getConsole()  
      void handle​(@NotNull de.dytanic.cloudnet.common.logging.LogEntry logEntry)  
      • Methods inherited from class de.dytanic.cloudnet.common.logging.AbstractLogHandler

        close, getFormatter, setFormatter
      • Methods inherited from class java.lang.Object

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

      • ConsoleLogHandler

        public ConsoleLogHandler​(IConsole console)
    • Method Detail

      • handle

        public void handle​(@NotNull
                           @NotNull de.dytanic.cloudnet.common.logging.LogEntry logEntry)
      • getConsole

        @NotNull
        public @NotNull IConsole getConsole()