Search of the day: Springboot setting color console printout log in Eclipse

Configure the color log output of the eclipse console
Install the ansi console plug-in, please Baidu for the step of installing the plug-in.
Open in the springboot configuration file

spring:
  #Eclipse-console-color彩色打印数据  
  output:
    ansi:
      enabled: ALWAYS

The result is as follows:
insert image description here

Guess you like

Origin blog.csdn.net/qq_44918802/article/details/126800514