gpt4 book ai didi

intellij-idea - 让 Spring Boot 颜色控制台日志记录在 Intellij 中工作?

转载 作者:行者123 更新时间:2023-12-03 07:07:16 83 4
gpt4 key购买 nike

有人知道如何在 Intellij Idea 中为 Spring Boot 应用程序获取颜色输出吗?

最佳答案

使用 Mac、Intellij Idea 14 和 Spring Boot v1.2.2.RELEASE,您所要做的就是设置:

spring.output.ansi.enabled=ALWAYS

我已将其添加为 VM 选项 (-Dspring.output.ansi.enabled=ALWAYS)。效果很好!

关于intellij-idea - 让 Spring Boot 颜色控制台日志记录在 Intellij 中工作?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28783832/

83 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com