【发布时间】:2011-10-28 19:02:03
【问题描述】:
我有一个大项目要调试,我想知道是否有任何方法可以用来更改 eclipse 输出中的 System.out.println 方法
例如:
System.out.println("I want this to be red");
System.out.println("I want this to be blue");
System.out.println("I want this to be yellow");
System.out.println("I want this to be magenta");
为了提高可读性。
EDIT
使用 sysout 我有这个
与 syserr 我有这个
【问题讨论】:
-
这里报告的大多数方法都可以在系统控制台上工作,但不能在 Eclipse 控制台上工作,这就是问题所在。
标签: java eclipse colors println