IntelliJ IDEA custom console output multi-color format function --- install Grep Console plug-in

1. Open IDEA settings panel

Shortcut key: Ctrl+Alt+S

Insert picture description here

2. Click Plugins to install Grep Console

Click Plugins and enter Grep Console to query the plug-in, click install and restart IDEA to take effect

Insert picture description here

3. Set the color after restarting IDEA

Foreground sets the font color of the print,
Background sets the color of the overlay font

Insert picture description here

4. Effect picture

Insert picture description here

5. Set the log level

Configure the log level in your yml file

logging:
  level:
    org.xx.mapper : debug
    com.th: debug
    org.springframework: warn

carry out! Hope it helps everyone.

Guess you like

Origin blog.csdn.net/weixin_42201180/article/details/107389305