log2trace-ui - v1.0.0-rc.9
    Preparing search index...

    Function compileFilters

    • Compile the active filters into a single predicate.

      A span passes when it passes every active filter. Filters with an empty value are inactive and skipped. Use the result to filter in chunks (to keep the main thread responsive) or on any subset of spans.

      Parameters

      • filters: readonly Filter[]

        Local filter state (config + current value).

      Returns SpanMatcher | null

      The combined predicate, or null when no filter is active.