Add level_by_argv level --silent.
This commit is contained in:
parent
e3d9336383
commit
cbf546ee69
1 changed files with 3 additions and 0 deletions
|
@ -25,6 +25,9 @@ def get_level_by_argv(argv):
|
|||
elif '--quiet' in argv:
|
||||
level = ERROR
|
||||
argv.remove('--quiet')
|
||||
elif '--silent' in argv:
|
||||
level = 99999999999
|
||||
argv.remove('--silent')
|
||||
else:
|
||||
level = INFO
|
||||
|
||||
|
|
Loading…
Reference in a new issue