Refactor logging system

This commit is contained in:
gravitylow committed 2014-01-19 12:49:40 -05:00
1 parent 62dcdb5d4b
commit aed44648eb
33 files changed
+311 -217

No files matched your search

@@ -57,15 +57,8 @@ public final class Utilities {
}
}
}
if (AntiCheat.getManager().getConfiguration().getConfig().logToConsole.getValue()) {
for (String msg : message) {
AntiCheat.getManager().log(msg);
}
}
if (AntiCheat.getManager().getConfiguration().getConfig().fileLogLevel.getValue() != 0) {
for (String msg : message) {
AntiCheat.getManager().log(msg, 1);
}
for (String msg : message) {
AntiCheat.getManager().log(msg);
}
}