code: func (h *HugoSites) resetLogs() {
  	h.Log.Reset()
  	loggers.GlobalErrorCounter.Reset()
  	for _, s := range h.Sites {
  		s.Deps.DistinctErrorLog = helpers.NewDistinctLogger(h.Log.ERROR)
  	}
  }
docs: // resetLogs resets the log counters etc. Used to do a new build on the same sites.