Lines Matching refs:logger
105 need not set up the channel initially, only the logger.
109 def __init__(self, logger, name=None, server=None, port=STD_P9_PORT):
110 self.logger = logger
229 self.logger.log(logging.INFO, '%s: normal EOF', self)
231 self.logger.log(logging.ERROR,
239 self.logger.log(logging.ERROR,
312 We need the a logger (see logging), a timeout, and a protocol
325 def __init__(self, logger, timeout, version, may_downgrade=True,
327 super(P9Client, self).__init__(logger)
410 self.logger.log(logging.INFO,
418 self.logger.log(logging.WARNING,
423 self.logger.log(logging.WARNING,
591 self.logger.log(logging.WARNING, '%s: got short packet', self)
601 self.logger.log(logging.ERROR, '%s: bad response: %s',
607 self.logger.log(logging.ERROR,
609 self.logger.log(logging.ERROR,
613 self.logger.log(logging.ERROR,
621 self.logger.log(logging.DEBUG, "read_resp: tag %d resp %r", resp.tag, resp)
634 self.logger.log(logging.DEBUG, "wait_for: tag %d", tag)