示例#1
0
文件: test.cs 项目: xlgwr/AutoGetXML
 public Test()
 {
     winlogger = new WinLogWirter();
     AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException);
     logger = LogManager.GetLogger(GetType());
     scheduler = StdSchedulerFactory.GetDefaultScheduler();
 }
示例#2
0
 public Service1()
 {
     InitializeComponent();
     winlogger = new WinLogWirter();
     AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException);
     logger = LogManager.GetLogger(GetType());
     scheduler = StdSchedulerFactory.GetDefaultScheduler();
 }