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

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

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