Changed System.out/err to have a bit more minimalistic output

This commit is contained in:
Obique PSWG
2016-05-13 17:40:12 -05:00
parent 842dfdf136
commit b040a4e890
+2 -2
View File
@@ -129,9 +129,9 @@ public class Log {
String logStr = String.format(str, args);
String log = String.format("%s %c/[%s]: %s", date, level.getChar(), tag, logStr);
if (level.compareTo(LogLevel.WARN) >= 0)
System.err.println(log);
System.err.println(date + " " + level.getChar() + ": " + logStr);
else
System.out.println(log);
System.out.println(date + " " + level.getChar() + ": " + logStr);
synchronized (LOG) {
try {
LOG.write(log);