original_docstring: Logger used by the database.
  
          The default logger will log commit stats at the log level INFO using
          `sys.stderr`.
  
          :rtype: :class:`logging.Logger` or `None`
          :returns: the logger
          
docstring: Logger used by the database.
  The default logger will log commit stats at the log level INFO using
  `sys.stderr`.
docstring_tokens: Logger used by the database . The default logger will log commit stats at the log level INFO using ` sys . stderr ` .
code: def logger(self):
          """Logger used by the database.
  
          The default logger will log commit stats at the log level INFO using
          `sys.stderr`.
  
          :rtype: :class:`logging.Logger` or `None`
          :returns: the logger
          """
          if self._logger is None:
              self._logger = logging.getLogger(self.name)
              self._logger.setLevel(logging.INFO)
  
              ch = logging.StreamHandler()
              ch.setLevel(logging.INFO)
              self._logger.addHandler(ch)
          return self._logger
code_tokens: def logger ( self ) : if self . _logger is None : self . _logger = logging . getLogger ( self . name ) self . _logger . setLevel ( logging . INFO ) ch = logging . StreamHandler ( ) ch . setLevel ( logging . INFO ) self . _logger . addHandler ( ch ) return self . _logger
short_docstring: Logger used by the database.
short_docstring_tokens: Logger used by the database .
comment: """Logger used by the database.
  
          The default logger will log commit stats at the log level INFO using
          `sys.stderr`.
  
          :rtype: :class:`logging.Logger` or `None`
          :returns: the logger
          """