public static void  LogExceptionErr(Exception e)
 {
     while (e != null)
     {
         LogerHelper.WriteErrorLog(string.Format("异常,Message:{0},SatackTrace:{1}", e.Message, e.StackTrace));
         e = e.InnerException;
     }
 }
        static void Main(string[] args)
        {
            LogerHelper.SetConfig();
            Thread t = new Thread(new ThreadStart(() =>
            {
                Iw2sDataAnalysis.Search.BotSearch.Instance.Run();
            }));

            t.Start();

            Console.ReadLine();
        }