コード例 #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
ファイル: Service1.cs プロジェクト: xlgwr/AutoGetXML
 public Service1()
 {
     InitializeComponent();
     winlogger = new WinLogWirter();
     AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException);
     logger = LogManager.GetLogger(GetType());
     scheduler = StdSchedulerFactory.GetDefaultScheduler();
 }