Trim console output even more

This commit is contained in:
Anuken 2019-05-04 14:22:13 -04:00
parent c46fa206f6
commit 8d6afbd80d

View File

@ -65,7 +65,7 @@ public class ServerControl implements ApplicationListener{
@Override @Override
public void debug(String text, Object... args){ public void debug(String text, Object... args){
print("&lc&fb" + "[DEBUG] " + text, args); print("&lc&fb" + "[DEBG] " + text, args);
} }
@Override @Override
@ -94,7 +94,7 @@ public class ServerControl implements ApplicationListener{
if(socketOutput != null){ if(socketOutput != null){
try{ 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){ }catch(Throwable e){
err("Error occurred logging to socket: {0}", e.getClass().getSimpleName()); err("Error occurred logging to socket: {0}", e.getClass().getSimpleName());
} }