mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-01-11 03:11:50 +00:00
Add more logging
This commit is contained in:
@@ -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...)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user