Lines Matching refs:logger
17 logger = logging.getLogger(__name__) variable
57 logger.info("Listening on port %d for clients.." % self.port)
61 logger.info("Server terminated.")
63 logger.error(str(e), exc_info=True)
122 logger.setLevel(loglevel)
196 logger.info("Client closed connection.")
209 logger.info("Client asked to close connection.")
213 logger.warn("Client must always be masked.")
217 logger.warn("Continuation frames are not supported.")
220 logger.warn("Binary frames are not supported.")
229 logger.warn("Unknown opcode %#x." % opcode)
261 logger.warning("Can\'t send message, message is not valid UTF-8")
268 …logger.warning('Can\'t send message, message has to be a string or bytes. Given type is %s' % type…
324 logger.warning("Client tried to connect but was missing a key")
357 logger.error("Could not encode data to UTF-8 -- %s" % e)