Skip to content

Commit 4276c97

Browse files
committed
add debug color
1 parent 652dc26 commit 4276c97

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

logex.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ func color(col, s string) string {
9191
func init() {
9292
if os.Getenv("DEBUG") != "" {
9393
DebugLevel = 0
94+
ERROR = color("32", ERROR)
9495
}
9596
}
9697

0 commit comments

Comments
 (0)