Interface GeyserLogger

All Known Implementing Classes:
ExtensionLogger, GeyserBungeeLogger, GeyserSpigotLogger, GeyserSpongeLogger, GeyserStandaloneLogger, GeyserVelocityLogger

public interface GeyserLogger
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    debug​(String message)
    Logs a debug message to console
    void
    error​(String message)
    Logs an error message to console
    void
    error​(String message, Throwable error)
    Logs an error message and an exception to console
    void
    info​(String message)
    Logs an info message to console
    boolean
    If debug is enabled for this logger
    void
    setDebug​(boolean debug)
    Sets if the logger should print debug messages
    void
    severe​(String message)
    Logs a severe message to console
    void
    severe​(String message, Throwable error)
    Logs a severe message and an exception to console
    void
    warning​(String message)
    Logs a warning message to console
  • Method Details

    • severe

      void severe(String message)
      Logs a severe message to console
      Parameters:
      message - the message to log
    • severe

      void severe(String message, Throwable error)
      Logs a severe message and an exception to console
      Parameters:
      message - the message to log
      error - the error to throw
    • error

      void error(String message)
      Logs an error message to console
      Parameters:
      message - the message to log
    • error

      void error(String message, Throwable error)
      Logs an error message and an exception to console
      Parameters:
      message - the message to log
      error - the error to throw
    • warning

      void warning(String message)
      Logs a warning message to console
      Parameters:
      message - the message to log
    • info

      void info(String message)
      Logs an info message to console
      Parameters:
      message - the message to log
    • debug

      void debug(String message)
      Logs a debug message to console
      Parameters:
      message - the message to log
    • setDebug

      void setDebug(boolean debug)
      Sets if the logger should print debug messages
      Parameters:
      debug - if the logger should print debug messages
    • isDebug

      boolean isDebug()
      If debug is enabled for this logger