Beispiel #1
0
        public EventProcessor()
        {
            _logBook      = new LogBook();
            _messageQueue = new SyncQueue <LoggingEvent>();

            _timer          = new Timer(10);
            _timer.Elapsed += HandleNextEvent;
            _timer.Start();
        }
Beispiel #2
0
        public EventProcessor()
        {
            _logBook = new LogBook();
            _messageQueue = new SyncQueue<LoggingEvent>();

            _timer = new Timer(10);
            _timer.Elapsed += HandleNextEvent;
            _timer.Start();
        }