<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def logger(self):
 """ Returns the logger object. :return: the logger :rtype: logger """

        if self._logger is None:
            self._logger = self.new_logger()
        return self._logger