mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-01 14:38:56 +00:00
Refactor logging system
This commit is contained in:
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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user