类 PluginLogger

java.lang.Object
java.util.logging.Logger
org.bukkit.plugin.PluginLogger

public class PluginLogger extends Logger
The PluginLogger class is a modified Logger that prepends all logging calls with the name of the plugin doing the logging. The API for PluginLogger is exactly the same as Logger.
另请参阅:
  • 构造器详细资料

    • PluginLogger

      public PluginLogger(Plugin context)
      Creates a new PluginLogger that extracts the name from a plugin.
      参数:
      context - A reference to the plugin
  • 方法详细资料