Package 

Object AndroidTracer.Companion

    • Method Summary

      Modifier and Type Method Description
      final Unit logThrowable(Span span, Throwable throwable) Helper method to attach a Throwable to a specific Span.
      final Unit logErrorMessage(Span span, String message) Helper method to attach an error message to a specific Span.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • logThrowable

         final Unit logThrowable(Span span, Throwable throwable)

        Helper method to attach a Throwable to a specific Span. The Throwable information (class name, message and stacktrace) will be added to the provided Span as standard Error Tags.

        Parameters:
        span - the active Span
        throwable - the Throwable you wan to log
      • logErrorMessage

         final Unit logErrorMessage(Span span, String message)

        Helper method to attach an error message to a specific Span. The error message will be added to the provided Span as a standard Error Tag.

        Parameters:
        span - the active Span
        message - the error message you want to attach