Skip to content

Commit

Permalink
update log
Browse files Browse the repository at this point in the history
  • Loading branch information
codeskyblue committed Nov 17, 2021
1 parent 342c5a3 commit f291548
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uiautomator2/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ def __init__(self, serial_or_url: Optional[str] = None):
# setup logger
log_format = f'%(color)s[%(levelname)1.1s %(asctime)s %(module)s:%(lineno)d]%(end_color)s [pid:%(process)d] [{self._serial}] %(message)s'
formatter = logzero.LogFormatter(fmt=log_format)
self._logger = setup_logger(name="uiautomator2.baseclient", level=logging.DEBUG, formatter=formatter)
self._logger = setup_logger(name="uiautomator2.client", level=logging.DEBUG, formatter=formatter)

# fallback to wifi if USB disconnected
wlan_ip = self.wlan_ip
Expand Down

0 comments on commit f291548

Please sign in to comment.