Ability to filter by [Channel]
AldeRoberge opened this issue · 7 comments
Hello @AldeRoberge have you tried writing a custom filter?
See for example https://github.com/needle-tools/needle-console/blob/main/package/Editor/CustomConsole/Filters/LineFilter.cs
and I think you have to register it yourself:
here is how builtin filters are registered:
@marwie
Pinging this since I can't seem to find the "Channels" dropdown - where is it? I'm on latest UPM package.
I have the same use case as OP.
The channels dropdown is something the OP asked about but it's not a feature of the console here
See my previous response - you can try adding it as a custom filter in your own code
Actually, the ConsoleFilterPreset might be what I was looking for. Too bad this isn't apparent in the readme.
This way we can quickly share package or namespace filters across our whole team, although it's a bit sad you have to "capture" the logs in the editor before you can filter them instead of just defining them up front.
Guess I could look into adding that feature myself.
Yes and feel free to make a PR and/or update the readme if you think information is missing or could be more clear