Class CoreLogger

java.lang.Object
java.util.logging.Logger
dev.selena.luacore.CoreLogger

public class CoreLogger extends Logger
Modified Logger class allowing LuaCore to log with color
  • Constructor Details

    • CoreLogger

      public CoreLogger(org.bukkit.plugin.Plugin context)
      Used for creating a new instance of the plugin logger
      Parameters:
      context - The main plugin class that extends JavaPlugin
  • Method Details

    • log

      public void log(Level level, String message)
      Used for sending a message to console
      Overrides:
      log in class Logger
      Parameters:
      level - One of the message level identifiers, e.g., SEVERE
      message - The string message (or a key in the message catalog)