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

            winlogger = new WinLogWirter();
            AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException);
            logger = LogManager.GetLogger(GetType());
            scheduler = StdSchedulerFactory.GetDefaultScheduler();
        }