mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-02 06:28:52 +00:00
Better file logging options
This commit is contained in:
1 parent
de762de1ba
commit
33dfb97a1b
10 files changed
+154
-25
No files matched your search
@@ -81,7 +81,15 @@ public class AnticheatManager
|
||||
if(getConfiguration().logConsole())
|
||||
{
|
||||
LOGGER.log(Level.WARNING,"[AC] ".concat(message));
|
||||
}
|
||||
if(getConfiguration().getFileLogLevel() == 3)
|
||||
{
|
||||
fileLog(message);
|
||||
}
|
||||
}
|
||||
|
||||
public void fileLog(String message)
|
||||
{
|
||||
FILE_LOGGER.log(Level.WARNING, message);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user