We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f952535 commit b220c6aCopy full SHA for b220c6a
main.go
@@ -39,9 +39,10 @@ func main() {
39
Before: setLogFormatter,
40
Flags: []cli.Flag{
41
&cli.StringFlag{
42
- Name: "log-format, l",
43
- Usage: "select logrus formatter ['json', 'text']",
44
- Value: "text",
+ Name: "log-format, l",
+ Usage: "select logrus formatter ['json', 'text']",
+ Value: "text",
45
+ EnvVars: []string{"LOG_FORMAT"},
46
},
47
48
Name: "provider, p",
0 commit comments