mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-01-10 23:28:52 +07:00
Trim console output even more
This commit is contained in:
parent
c46fa206f6
commit
8d6afbd80d
@ -65,7 +65,7 @@ public class ServerControl implements ApplicationListener{
|
||||
|
||||
@Override
|
||||
public void debug(String text, Object... args){
|
||||
print("&lc&fb" + "[DEBUG] " + text, args);
|
||||
print("&lc&fb" + "[DEBG] " + text, args);
|
||||
}
|
||||
|
||||
@Override
|
||||
@ -94,7 +94,7 @@ public class ServerControl implements ApplicationListener{
|
||||
|
||||
if(socketOutput != null){
|
||||
try{
|
||||
socketOutput.println(format(text + "&fr", false, args));
|
||||
socketOutput.println(format(text + "&fr", false, args).replace("[DEBG] ", "").replace("[WARN] ", "").replace("[INFO] ", "").replace("[ERR!] ", ""));
|
||||
}catch(Throwable e){
|
||||
err("Error occurred logging to socket: {0}", e.getClass().getSimpleName());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user