code: func (log *Log) Add(g *Graph) int64 {
  
  	b := g.Binary()
  
  	if b == nil {
  		return 0
  	}
  
  	i, _ := log.f.Seek(0, 2)
  
  	log.f.Write(b)
  
  	if log.autoSync {
  		log.f.Sync()
  	}
  
  	return i
  }
docs: // Add adds an OGDL object to the log. The starting position into the log
  // is returned.