Skip to content

Commit

Permalink
Merge 666149f into 6f843c9
Browse files Browse the repository at this point in the history
  • Loading branch information
Songmu committed Aug 25, 2018
2 parents 6f843c9 + 666149f commit c9a333c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions logger/logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ var logger = &colorine.Logger{
},
}

func init() {
logger.SetOutput(os.Stderr)
}

// Log outputs `message` with `prefix` by go-colorine
func Log(prefix, message string) {
logger.Log(prefix, message)
Expand Down

0 comments on commit c9a333c

Please sign in to comment.