-
- All Implemented Interfaces:
-
ca.nexapp.tracing.Trace,java.lang.AutoCloseable
public final class SentryTrace implements Trace
-
-
Constructor Summary
Constructors Constructor Description SentryTrace(Context context, String message, Instant startOfTrace)
-
Method Summary
Modifier and Type Method Description UnitsignalError(Exception error)Changes the breadcrumb Level to ERROR Puts a field "error" with exception in breadcrumb data UnitsetTag(String name, String value)Puts the field in breadcrumb data UnitsetMetadata(String key, String value)Puts the field in breadcrumb data Unitclose()Creates and records the breadcrumb -
-
Method Detail
-
signalError
Unit signalError(Exception error)
Changes the breadcrumb Level to ERROR Puts a field "error" with exception in breadcrumb data
-
setMetadata
Unit setMetadata(String key, String value)
Puts the field in breadcrumb data
-
-
-
-