def logger(self):
        """:class:`logging.Logger` of this instance"""
        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
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
:class:`logging.Logger` of this instance