This commit is contained in:
Anuken
2020-08-24 23:16:24 -04:00
parent 77911385e1
commit de6cde6ddd
8 changed files with 47 additions and 19 deletions

View File

@@ -64,6 +64,9 @@ public class ServerControl implements ApplicationListener{
"globalrules", "{reactorExplosions: false}"
);
//update log level
Config.debug.set(Config.debug.bool());
Log.setLogger((level, text) -> {
String result = "[" + dateTime.format(LocalDateTime.now()) + "] " + format(tags[level.ordinal()] + " " + text + "&fr");
System.out.println(result);