code: def logger(self):
          
          if self._logger is None:
              self._logger = self.new_logger()
          return self._logger
docs: Returns the logger object.
  
          :return: the logger
          :rtype: logger