Package 

Class SentryTrace

  • 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
      Unit signalError(Exception error) Changes the breadcrumb Level to ERROR Puts a field "error" with exception in breadcrumb data
      Unit setTag(String name, String value) Puts the field in breadcrumb data
      Unit setMetadata(String key, String value) Puts the field in breadcrumb data
      Unit close() Creates and records the breadcrumb
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait