static void Main(string[] args) { NLog.LogManager.Configuration = new NLog.Config.XmlLoggingConfiguration("NLog.config"); lsApi = new Server.Login.Api() { IsBackground = false }; gsApi = new Server.Game.Api() { IsBackground = false, MoveInterval = 100 }; Setup(Parse(args)); }