Example #1
0
 public Test()
 {
     winlogger = new WinLogWirter();
     AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException);
     logger = LogManager.GetLogger(GetType());
     scheduler = StdSchedulerFactory.GetDefaultScheduler();
 }
Example #2
0
 public Service1()
 {
     InitializeComponent();
     winlogger = new WinLogWirter();
     AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException);
     logger = LogManager.GetLogger(GetType());
     scheduler = StdSchedulerFactory.GetDefaultScheduler();
 }