mirror of
https://github.com/ProjectSWGCore/Holocore.git
synced 2026-10-19 09:03:02 -04:00
Changed System.out/err to have a bit more minimalistic output
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user