// OnFoundEntry performs printing. func (p *Printer) OnFoundEntry(foundEntry messages.FoundEntry) { log.Println(foundEntry.String()) }
// OnFoundEntry performs writing to file. func (f *FileWriter) OnFoundEntry(foundEntry messages.FoundEntry) { f.outputFile.WriteString(fmt.Sprintln(foundEntry.String())) }