Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
YueChen-C committed Sep 2, 2021
2 parents 0b7760f + 6d5d80b commit a6ace98
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ios_device/util/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ def getLogger(cls, name=os.path.abspath(__name__)):
def __getLogLevel():
if os.getenv("DEBUG") in ("1", "on", "true"):
return logging.DEBUG
if os.getenv("ERROR") in ("1", "on", "true"):
return logging.ERROR
if gettrace():
return logging.DEBUG
else:
Expand Down

0 comments on commit a6ace98

Please sign in to comment.