加入Jansi 让windows cmd日志彩色输出

This commit is contained in:
qaiu committed 2023-12-15 10:14:00 +08:00
1 parent 001f634d8e
commit 07c5ecb4bc
2 files changed
+7

No files matched your search

@@ -46,6 +46,7 @@
</appender>
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<withJansi>true</withJansi>
<encoder>
<!--格式化输出:%d表示日期,%thread表示线程名,%-5level:级别从左显示5个字符宽度%msg:日志消息,%n是换行符-->
<pattern>${CUSTOMER_PATTERN2}</pattern>