original_docstring: A logger used to output seed information to nosetests logs.
docstring: A logger used to output seed information to nosetests logs.
docstring_tokens: A logger used to output seed information to nosetests logs .
code: def default_logger():
      """A logger used to output seed information to nosetests logs."""
      logger = logging.getLogger(__name__)
      # getLogger() lookups will return the same logger, but only add the handler once.
      if not len(logger.handlers):
          handler = logging.StreamHandler(sys.stderr)
          handler.setFormatter(logging.Formatter('[%(levelname)s] %(message)s'))
          logger.addHandler(handler)
          if (logger.getEffectiveLevel() == logging.NOTSET):
              logger.setLevel(logging.INFO)
      return logger
code_tokens: def default_logger ( ) : logger = logging . getLogger ( __name__ ) if not len ( logger . handlers ) : handler = logging . StreamHandler ( sys . stderr ) handler . setFormatter ( logging . Formatter ( '[%(levelname)s] %(message)s' ) ) logger . addHandler ( handler ) if ( logger . getEffectiveLevel ( ) == logging . NOTSET ) : logger . setLevel ( logging . INFO ) return logger
short_docstring: A logger used to output seed information to nosetests logs.
short_docstring_tokens: A logger used to output seed information to nosetests logs .
comment: """A logger used to output seed information to nosetests logs."""$SEP$# getLogger() lookups will return the same logger, but only add the handler once.