Exemplo n.º 1
0
// Start / resume harvester with a predefined offset
func (p *ProspectorLog) resumeHarvesting(h *harvester.Harvester, offset int64) {

	logp.Debug("prospector", "Start / resuming harvester of file: %s", h.Path)
	h.SetOffset(offset)
	h.Start()
}