package server; import server.log.EventLogger; import server.net.ChatServer; import server.util.ServerBuilder; public class Main { public static EventLogger console; public static void main(String[] args) { console = new EventLogger(System.out); ChatServer server = ServerBuilder.buildServerFromConsoleArgs(args); if (server == null) { console.info("Didn't initialize ChatServer!"); console.close(); return; } //Start the Server server.start(); //console.close(); } }