Skip to content

[Contextual Logging With Console Context] Make filter queries negatable [Suggestion] #1091

@devingfx

Description

@devingfx

Hi!

On the UI side, the filter input in DevTools may prupose negatable queries to exclude some context/url/source and show the rest.
Sometimes during dev, there is 1 file/context that spam console, but sometimes we would like to exclude this one and still see other message without filtering especially on it (like: let's see what else logs is there if I mute this one that logs mousemove events).

I'm not sure about the syntax of negation, it's open:

  • context!foo
  • context!=foo
  • !context:foo
  • !text

Several filters together:

  • !context:foo everthing but context foo
  • !url:*dragManager.js everthing but file finishing by dragManager.js
  • !context:drag !context:api !url:https://exemple.com* hello everthing but context drag or api, neither files from exemple.com that contains hello

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions