-
public interface ClientClient interface.
-
-
Method Summary
Modifier and Type Method Description abstract voidsend(BacktraceReport report)Send new report to a Backtrace API abstract voidenableNativeIntegration()Capture unhandled native exceptions (Backtrace database integration is required to enable this feature). abstract voidaddAttribute(Map<String, Object> attributes)Adds new attributes to the client.If the native integration is available and attributes are primitive type,they will be added to the native reports. abstract voidaddAttribute(String key, Object value)Adds new attribute to the client.If the native integration is available and attributes are primitive type,they will be added to the native reports. -
-
Method Detail
-
send
abstract void send(BacktraceReport report)
Send new report to a Backtrace API
- Parameters:
report- data which should be send to Backtrace API
-
enableNativeIntegration
abstract void enableNativeIntegration()
Capture unhandled native exceptions (Backtrace database integration is required to enable this feature).
-
addAttribute
abstract void addAttribute(Map<String, Object> attributes)
Adds new attributes to the client.If the native integration is available and attributes are primitive type,they will be added to the native reports.
- Parameters:
attributes- client Attributes
-
addAttribute
abstract void addAttribute(String key, Object value)
Adds new attribute to the client.If the native integration is available and attributes are primitive type,they will be added to the native reports.
- Parameters:
key- attribute keyvalue- attribute value
-
-
-
-