code: def logger(self):
          
          try:
              return self._logger
          except AttributeError:
              name = '%s.%s' % (self.__module__, self.__class__.__name__)
              self._logger = logging.getLogger(name)
              self.logger.debug('Initializing...')
              return self._logger
docs: :class:`logging.Logger` of this instance