feat: improved usage of logging package
This commit is contained in:
parent
e5f4eac99d
commit
6f3224c9cc
1 changed files with 1 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ func progressBar() {
|
||||||
func progressBarAdd(amount int) {
|
func progressBarAdd(amount int) {
|
||||||
logging.Print("BAR: Progressing the bar", nil)
|
logging.Print("BAR: Progressing the bar", nil)
|
||||||
if err := bar.Add(amount); err != nil {
|
if err := bar.Add(amount); err != nil {
|
||||||
logging.Print("ERROR: Progress bar update error: %v\n", err)
|
logging.Print("BAR: Could not update the bar", err)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue