public SiteServer() { new ArrayUtils(); siteServerIndex = "SiteServer" + Guid.NewGuid(); Logger.Start(siteServerIndex); Global.Process.On("exit", () => Logger.Log("exi SiteServer",LogLevel.Information)); SiteManager siteManager = new SiteManager(siteServerIndex); }
public SiteServer() { new ArrayUtils(); siteServerIndex = "SiteServer" + Guid.NewGuid(); ServerLogger.InitLogger("SiteServer", siteServerIndex); Logger.Start(siteServerIndex); Global.Process.On("exit", () => ServerLogger.LogError("exi SiteServer",null)); SiteManager siteManager = new SiteManager(siteServerIndex); }