//初始化 public void Init() { WZSocket <ServerSession, NetMsg> server = new WZSocket <ServerSession, NetMsg>(); server.StartAsServer(ServerCfg.srvIP, ServerCfg.srvPort); WZTool.LogMsg("NetSvc Init Done."); }
public static void Log(string msg = "", LogType logType = LogType.LogType_Log) { LogLevel logLv = (LogLevel)logType; WZTool.LogMsg(msg, logLv); }