๐Ÿ’ Spring

[intelliJ] Console log color ์ ์šฉ ์•ˆ๋  ๋•Œ

iseunghan 2021. 8. 12. 00:37
๋ฐ˜์‘ํ˜•

๋ฌธ์ œ intelliJ ์ฝ˜์†” ์ฐฝ์˜ color๊ฐ€ ์ ์šฉ์ด ์•ˆ๋  ๋•Œ ํ•ด๊ฒฐ ๋ฐฉ๋ฒ•

์ฝ˜์†” ์ฐฝ์— ์ƒ‰์ƒ์ด ๋น ์ ธ์„œ ๋ญ”๊ฐ€ ์•ˆ ์˜ˆ์˜๋‹ค.. ๊ฑฐ์Šฌ๋ฆฐ๋‹ค..

 

ํ•ด๊ฒฐ ๋ฐฉ๋ฒ•

application.properties์— ์•„๋ž˜ ์ฝ”๋“œ๋ฅผ ์ถ”๊ฐ€ํ•˜๋ฉด ๋ฉ๋‹ˆ๋‹ค.

spring.output.ansi.enabled=always

 

์ ์šฉ ํ›„ ์ฝ˜์†” ์ฐฝ ์ƒ‰์ƒ!

์•Œ๋ก๋‹ฌ๋ก ํ•ฉ๋‹ˆ๋‹ค

 

REFERENCE

https://www.logicbig.com/tutorials/spring-framework/spring-boot/color-logs.html

 

Spring Boot - Enabling Color Coded Output

Spring Boot - Enabling Color Coded Output [Last Updated: Sep 22, 2017]

www.logicbig.com

 

๋ฐ˜์‘ํ˜•