Constructor and Description |
---|
DebugUtil() |
Modifier and Type | Method and Description |
---|---|
static Debugger.DebugOpts |
getOpts() |
static void |
report(Debugger.DebugOpts opts,
Throwable error,
String message)
Reports an error to a specific reporting URL
|
static void |
setOps(Supplier<Debugger.DebugOpts> getOpts) |
public static void report(Debugger.DebugOpts opts, Throwable error, String message)
opts
- The Debugger.DebugOpts
relevant to the current plugin contexterror
- The Throwable
to reportmessage
- The message relevant to the errorpublic static Debugger.DebugOpts getOpts()
public static void setOps(Supplier<Debugger.DebugOpts> getOpts)
Copyright © 2017. All rights reserved.