code: def log(self, msg, level=INFO):
          
          logger.log(level, '<{}> - '.format(self._name) + msg)
docs: Record a line of log in logger
  
          :param str msg: content of the messag
  
          :param level: logging level
          :return: None