Class LogUtil

java.lang.Object
net.lewmc.essence.utils.LogUtil

public class LogUtil extends Object
Essence's logger.
  • Constructor Summary

    Constructors
    Constructor
    Description
    LogUtil(Essence plugin)
    Constructor for the LogUtil class.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    info(String message)
    Logs a message to the server console as informational (standard).
    void
    Logs a message to the console, informing the console operator that it cannot run the command requested.
    void
    severe(String message)
    Logs a message to the server console as severe (fatal error).
    void
    warn(String message)
    Logs a message to the server console as warning (non-fatal error).

    Methods inherited from class java.lang.Object

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

    • LogUtil

      public LogUtil(Essence plugin)
      Constructor for the LogUtil class.
      Parameters:
      plugin - - Reference to the main Essence class.
  • Method Details

    • info

      public void info(String message)
      Logs a message to the server console as informational (standard).
      Parameters:
      message - String - Message to log.
    • warn

      public void warn(String message)
      Logs a message to the server console as warning (non-fatal error).
      Parameters:
      message - String - Message to log.
    • severe

      public void severe(String message)
      Logs a message to the server console as severe (fatal error).
      Parameters:
      message - String - Message to log.
    • noConsole

      public void noConsole()
      Logs a message to the console, informing the console operator that it cannot run the command requested.