在启动类添加:-Dspring.output.ansi.enabled=ALWAYS
有颜色了:
SpringBoot控制台配置日志添加颜色
原文:https://www.cnblogs.com/wanlige/p/14788613.html