Skip to content

Commit

Permalink
Allow explicit usage of 'color' in GOLOG_LOG_FMT
Browse files Browse the repository at this point in the history
  • Loading branch information
ribasushi committed Jul 5, 2021
1 parent 61ec4a4 commit bd5b0c3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions setup.go
Expand Up @@ -289,6 +289,8 @@ func configFromEnv() Config {
var noExplicitFormat bool

switch format {
case "color":
cfg.Format = ColorizedOutput
case "nocolor":
cfg.Format = PlaintextOutput
case "json":
Expand Down

0 comments on commit bd5b0c3

Please sign in to comment.