Colorize logs in eclipse console

后端 未结 10 704
别那么骄傲
别那么骄傲 2020-12-07 08:45

Is there a way to colorize parts of logs in the eclipse console. I know I could send to error and standard streams and color them differently but I\'m more looking someting

10条回答
  •  一生所求
    2020-12-07 09:43

    Have a try with this Eclipse Plugin: Grep Console

    [Update]:
    As pointed out by commenters: When installing Grep Console in the currently last version of Eclipse, you need to uncheck 'Group items by category' in the Install dialog to see the available items.
    As pointed out by @Line the plugin can now be easily installed via the Eclipse Marketplace again without changing any options.

    [Update 2]:
    As pointed out by @azdev, to get proper highlighting:

    Entering just literal strings doesn't work. To get a line to be colored, you have to enclose the string in .* on either side, like so: .*ERROR.*

提交回复
热议问题