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, setLevel
public ExceptionHandler(org.bukkit.plugin.Plugin plugin)
Handler
to Level.SEVERE
plugin
- The relevant Plugin
to the Logger
public 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 Handler
SecurityException
- Never happenspublic static void apply(org.bukkit.plugin.Plugin p)
p
- The Plugin
with the Logger
to checkCopyright © 2015. All rights reserved.