code: func (sl *DiskSessionLogger) PostSessionSlice(slice SessionSlice) error {
  	sl.Lock()
  	defer sl.Unlock()
  
  	for i := range slice.Chunks {
  		_, err := sl.writeChunk(slice.SessionID, slice.Chunks[i])
  		if err != nil {
  			return trace.Wrap(err)
  		}
  	}
  	return sl.flush()
  }
docs: // PostSessionSlice takes series of events associated with the session
  // and writes them to events files and data file for future replays