mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-10-15 10:07:24 +00:00
Add more logging
This commit is contained in:
1 parent
3e06af8515
commit
b5d90b7b13
1 file changed
+2
@@ -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