public class PluginDebugOpts
extends com.codelanx.commons.logging.Debugger.DebugOpts
Modifier and Type | Class and Description |
---|---|
static class |
PluginDebugOpts.ExceptionHandler
|
Constructor and Description |
---|
PluginDebugOpts(Plugin plugin)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
org.json.simple.JSONObject |
attachInfo() |
Plugin |
getPlugin()
Returns the
Plugin that this Debugger.DebugOpts pertains to |
static com.codelanx.commons.logging.Debugger.DebugOpts |
getPluginOpts() |
static void |
hookBukkit()
Hooks into Bukkit's plugin system and adds a handler to all plugin
loggers to allow catching unreported exceptions.
|
protected final Plugin plugin
public Plugin getPlugin()
Plugin
that this Debugger.DebugOpts
pertains toPlugin
to this instancepublic org.json.simple.JSONObject attachInfo()
attachInfo
in class com.codelanx.commons.logging.Debugger.DebugOpts
public static void hookBukkit()
com.codelanx.commons.util.exception.IllegalInvocationException
- If something other than
CodelanxLib
calls this
methodpublic static com.codelanx.commons.logging.Debugger.DebugOpts getPluginOpts()
Copyright © 2017. All rights reserved.