using stderr for stats

dev
Mzack9999 2020-11-16 23:31:38 +01:00
parent 1daea03ac8
commit 0c04e5caf9
1 changed files with 2 additions and 1 deletions

View File

@ -2,6 +2,7 @@ package progress
import (
"fmt"
"os"
"strings"
"time"
@ -119,7 +120,7 @@ func makePrintCallback() func(stats clistats.StatisticsClient) {
builder.WriteRune(')')
builder.WriteRune('\n')
gologger.Printf("%s", builder.String())
fmt.Fprintf(os.Stderr, "%s", builder.String())
builder.Reset()
}
}