| Constructor and Description |
|---|
ExceptionHandler(org.bukkit.plugin.Plugin plugin)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
apply(org.bukkit.plugin.Plugin p)
|
void |
close()
Does nothing
|
void |
flush()
Does nothing
|
void |
publish(LogRecord record)
If
LogRecord.getThrown() does not return null, then
this will call Debugger.report(DebugOpts, Throwable, String)
|
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, isLoggable, reportError, setEncoding, setErrorManager, setFilter, setFormatter, setLevelpublic ExceptionHandler(org.bukkit.plugin.Plugin plugin)
Handler to Level.SEVEREplugin - The relevant Plugin to the Loggerpublic void publish(LogRecord record)
LogRecord.getThrown() does not return null, then
this will call Debugger.report(DebugOpts, Throwable, String)
public void close()
throws SecurityException
close in class HandlerSecurityException - Never happenspublic static void apply(org.bukkit.plugin.Plugin p)
p - The Plugin with the Logger to checkCopyright © 2015. All rights reserved.