Reinstate logging

This commit is contained in:
Vangelis Banos 2018-02-05 08:26:06 +00:00
parent 0b0f4a1121
commit e838829b8a

View File

@ -288,10 +288,9 @@ class Browser:
msg_id = next(self._command_id)
kwargs['id'] = msg_id
msg = json.dumps(kwargs)
#logging.log(
# brozzler.TRACE if suppress_logging else logging.DEBUG,
# 'sending message to %s: %s', self.websock, msg)
# print(msg)
logging.log(
brozzler.TRACE if suppress_logging else logging.DEBUG,
'sending message to %s: %s', self.websock, msg)
self.websock.send(msg)
return msg_id