Add more logging

This commit is contained in:
Lorenzo Bolla committed 2022-01-31 10:32:54 +01:00
1 parent 3e06af8515
commit b5d90b7b13
1 file changed
+2
+2
View File
@@ -67,6 +67,8 @@ func (d *GrabDownloader) DownloadWithChecksum(ctx context.Context, url string, d
}
func (d *GrabDownloader) log(msg string, a ...interface{}) {
// TODO don't long to stdout
fmt.Printf(msg, a...)
if d.progress != nil {
d.progress.Printf(msg, a...)
}