Skip to content

Commit

Permalink
log to stderr
Browse files Browse the repository at this point in the history
  • Loading branch information
aybabtme committed Apr 10, 2017
1 parent 588539b commit 5827550
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/humanlog/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ func main() {

prefix := rgbterm.FgString(app.Name+"> ", 99, 99, 99)

log.SetOutput(colorable.NewColorableStdout())
log.SetOutput(colorable.NewColorableStderr())
log.SetFlags(0)
log.SetPrefix(prefix)
err := app.Run(os.Args)
Expand Down

0 comments on commit 5827550

Please sign in to comment.