Skip to content

Commit

Permalink
Log to stderr
Browse files Browse the repository at this point in the history
  • Loading branch information
bduffany committed Mar 9, 2024
1 parent 8356a6a commit e616e65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion log.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func logf(level, format string, args ...interface{}) {
if level != "NOTIFY" {
prefix += level + ": "
}
fmt.Printf(gray+prefix+format+reset+"\n", args...)
fmt.Fprintf(os.Stderr, gray+prefix+format+reset+"\n", args...)
}

func debugf(format string, args ...interface{}) {
Expand Down

0 comments on commit e616e65

Please sign in to comment.