addDefaultStackFilter static method

void addDefaultStackFilter(
  1. StackFilter filter

Adds a stack filtering function to defaultStackFilter.

For example, the framework adds common patterns of element building to elide tree-walking patterns in the stack trace.

Added filters are checked in order of addition. The first matching filter wins, and subsequent filters will not be checked.


static void addDefaultStackFilter(StackFilter filter) {