예제 #1
0
        public void Log(WrappedEvent item)
        {
            wrappedEventsCache.AddItem(item);

            AcumulateSize += item.Size;

            if (wrappedEventsCache.HasReachedMaxSize() || AcumulateSize >= MAX_SIZE_BYTES)
            {
                SendBulkEvents();
            }
        }
 public void Log(KeyImpression impression)
 {
     impressionsCache.AddItem(impression);
 }