Add the --silent option to allow suppressing log output.
This commit is contained in:
@@ -67,6 +67,9 @@ when isMainModule:
|
||||
if args["--debug"]:
|
||||
consoleLogger.levelThreshold = lvlDebug
|
||||
|
||||
if args["--silent"]:
|
||||
consoleLogger.levelThreshold = lvlNone
|
||||
|
||||
if args["--echo-args"]: stderr.writeLine($args)
|
||||
|
||||
if args["help"]:
|
||||
|
||||
Reference in New Issue
Block a user