code: func (o *EntryTracker) Record() *EntryRecord {
  	o.mu.Lock()
  	defer o.mu.Unlock()
  
  	var r EntryRecord
  	if len(o.streams) > 0 {
  		r.Streams = make(map[types.StreamPath]*StreamEntryRecord, len(o.streams))
  		for k, v := range o.streams {
  			r.Streams[k] = v.record()
  		}
  	}
  	return &r
  }
docs: // Record exports a snapshot of the current tracking state.