mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-04-20 19:38:39 +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{}) {
|
func (d *GrabDownloader) log(msg string, a ...interface{}) {
|
||||||
|
// TODO don't long to stdout
|
||||||
|
fmt.Printf(msg, a...)
|
||||||
if d.progress != nil {
|
if d.progress != nil {
|
||||||
d.progress.Printf(msg, a...)
|
d.progress.Printf(msg, a...)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user