mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 14:55:16 +00:00
use stderr for verbose log
This commit is contained in:
parent
ca3f438288
commit
132fe893e1
|
@ -183,7 +183,7 @@ var BacktestCmd = &cobra.Command{
|
|||
var prevKLine types.KLine
|
||||
for k := range klineC {
|
||||
if verboseCnt > 1 {
|
||||
fmt.Print(".")
|
||||
fmt.Fprint(os.Stderr, ".")
|
||||
}
|
||||
|
||||
if prevKLine != emptyKLine {
|
||||
|
@ -200,7 +200,7 @@ var BacktestCmd = &cobra.Command{
|
|||
}
|
||||
|
||||
if verboseCnt > 1 {
|
||||
fmt.Println()
|
||||
fmt.Fprintln(os.Stderr)
|
||||
}
|
||||
|
||||
if err := <-errC; err != nil {
|
||||
|
|
Loading…
Reference in New Issue
Block a user