V4Fire/Core

Extend filters in core/perf module

Closed this issue · 0 comments

Filters have to support include/exclude pattern.

Example:

//src/config/index.ts
{
  //...

  perf: {
    timer: {
      engine: 'console',
      filters: {
        network: {
          include: [],
          exclude: []
        }
      }
    }
  },

  //...
}

If include and exclude are defined at the same time, then only include filtering is using