Skip to content

Commit

Permalink
Green for info.
Browse files Browse the repository at this point in the history
Signed-off-by: SuperQ <[email protected]>
  • Loading branch information
SuperQ committed Feb 25, 2023
1 parent 9227990 commit 72fdbae
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions promlog/log.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ func colorFn(keyvals ...interface{}) term.FgBgColor {
continue
}
switch keyvals[i+1] {
case "info":
return term.FgBGColor{Fg: term.Green}
case "debug":
return term.FgBgColor{Fg: term.Blue}
case "warn":
Expand Down

0 comments on commit 72fdbae

Please sign in to comment.