JetBrains / ideolog

Interactive viewer for '.log' files.
MIT License
254 stars 55 forks source link

How to use captured groups in patterns? #65

Open MrFiregore opened 5 years ago

MrFiregore commented 5 years ago

I'm trying to color the different parts of the message by group names but I don't know if this can be done. It would be a good feature to add in case that it does not exist.

image

knah commented 5 years ago

The capture groups are not named in the current implementation. The best way to color a field (such as time or category) would be to add a highlighting rule with regex for it and "Highlight field" action.