Latest distutils
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -53,9 +53,9 @@ def set_threshold(level):
|
||||
_global_log.threshold = level
|
||||
|
||||
def set_verbosity(v):
|
||||
if v == 0:
|
||||
if v <= 0:
|
||||
set_threshold(WARN)
|
||||
if v == 1:
|
||||
elif v == 1:
|
||||
set_threshold(INFO)
|
||||
if v == 2:
|
||||
elif v >= 2:
|
||||
set_threshold(DEBUG)
|
||||
|
Reference in New Issue
Block a user