예제 #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();
 }