How to print color in console using System.out.println?

后端 未结 13 2278
灰色年华
灰色年华 2020-11-22 05:22

How can I print color in console? I want to show data in colors when the processor sends data and in different colors when it receives data.

相关标签:
13条回答
  • 2020-11-22 06:26

    Emoji

    You can use colors for text as others mentioned in their answers.

    But you can use emojis instead! for example you can use You can use ⚠️ for warning messages and

    0 讨论(0)
提交回复
热议问题