示例#1
0
 /// <summary>
 /// 启动日志记录
 /// </summary>
 public override void Start()
 {
     //**********VERSION 1.1.2.0 START**********//
     if (_thread != null)
     {
         _thread.Start();
         return;
     }
     //**********VERSION 1.1.2.0 END**********//
     LogPersistenceService.SetPersistParam(LogFormatter.GetLogFileName(TXTLogFactory.GetLogFileName(LogConfig)));
     //**********VERSION 1.1.2.0 START**********//
     _thread = new Thread(Run)
     {
         IsBackground = true
     };
     _thread.Start();
     //new Thread(Run).Start();
     //**********VERSION 1.1.2.0 END**********//
 }