mirror of https://bitbucket.org/ausocean/av.git
Merged in av-logging-update (pull request #61)
revid-cli: stopped using config.Verbosity and started using config.LogLevl to fix errors
This commit is contained in:
commit
49e8220a25
|
@ -248,9 +248,9 @@ func handleFlags() {
|
||||||
|
|
||||||
switch *configFlags[verbosityPtr] {
|
switch *configFlags[verbosityPtr] {
|
||||||
case "No":
|
case "No":
|
||||||
config.Verbosity = revid.No
|
config.LogLevel = smartlogger.Fatal
|
||||||
case "Yes":
|
case "Yes":
|
||||||
config.Verbosity = revid.Yes
|
config.LogLevel = smartlogger.Debug
|
||||||
case "":
|
case "":
|
||||||
default:
|
default:
|
||||||
logger.Log(smartlogger.Error, pkg+"bad verbosity argument")
|
logger.Log(smartlogger.Error, pkg+"bad verbosity argument")
|
||||||
|
|
Loading…
Reference in New Issue