Class ScopesUtil

java.lang.Object
io.sentry.util.ScopesUtil

public final class ScopesUtil extends Object
A util for printing the scopes chain from passed in scopes all the way up to its initial ancestor.

It walks up the parents of each scopes instance until it reaches a parent of null. The scopes without a parent are the ones created in Sentry.init.

  • Constructor Details

    • ScopesUtil

      public ScopesUtil()
  • Method Details

    • printScopesChain

      public static void printScopesChain(@Nullable @Nullable IScopes scopes)