<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def log(self, msg, level=INFO):
 """Record a line of log in logger :param str msg: content of the messag :param level: logging level :return: None """

        logger.log(level, '<{}> - '.format(self._name) + msg)