Exemple #1
0
        private void FlushEvents()
        {
            lock (_eventsCollectingLock)
            {
                _fileWrapper.AppendStreamDataFromBeginning(_eventsCollectingBuffer);

                _eventsCollectingBuffer.Seek(0, SeekOrigin.Begin);
                _eventsCollectingBuffer.SetLength(0);
            }
        }