mirror of
https://github.com/tickstep/aliyunpan.git
synced 2025-01-23 22:42:15 +08:00
add log
This commit is contained in:
parent
8f1a32aa88
commit
416e167a8a
@ -174,7 +174,7 @@ func (utu *UploadTaskUnit) upload() (result *taskframework.TaskUnitRunResult) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if utu.ShowProgress {
|
if utu.ShowProgress {
|
||||||
fmt.Printf("\r[%s] ↑ %s/%s %s/s(%s/s) in %s ............\n", utu.taskInfo.Id(),
|
fmt.Printf("\r[%s] ↑ %s/%s %s/s(%s/s) in %s ............", utu.taskInfo.Id(),
|
||||||
converter.ConvertFileSize(status.Uploaded(), 2),
|
converter.ConvertFileSize(status.Uploaded(), 2),
|
||||||
converter.ConvertFileSize(status.TotalSize(), 2),
|
converter.ConvertFileSize(status.TotalSize(), 2),
|
||||||
converter.ConvertFileSize(status.SpeedsPerSecond(), 2),
|
converter.ConvertFileSize(status.SpeedsPerSecond(), 2),
|
||||||
|
Loading…
Reference in New Issue
Block a user