code: func ReleaseAndLog(ls Store, l Layer) {
  	metadata, err := ls.Release(l)
  	if err != nil {
  		logrus.Errorf("Error releasing layer %s: %v", l.ChainID(), err)
  	}
  	LogReleaseMetadata(metadata)
  }
docs: // ReleaseAndLog releases the provided layer from the given layer
  // store, logging any error and release metadata