mirror of
https://github.com/thegeeklab/wp-plugin-go.git
synced 2024-11-22 10:20:39 +00:00
Add env var for log level
This commit is contained in:
parent
049cce9e39
commit
a8475a3999
@ -17,6 +17,7 @@ func loggingFlags() []cli.Flag {
|
|||||||
cli.StringFlag{
|
cli.StringFlag{
|
||||||
Name: logLevelFlag,
|
Name: logLevelFlag,
|
||||||
Usage: "logging-level",
|
Usage: "logging-level",
|
||||||
|
EnvVar: "PLUGIN_LOG_LEVEL",
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user