original_docstring: Make a temporary pgclone logger to go to stdout
docstring: Make a temporary pgclone logger to go to stdout
docstring_tokens: Make a temporary pgclone logger to go to stdout
code: def new_stdout_logger(level=logging.INFO):
      """Make a temporary pgclone logger to go to stdout"""
      logger = logging.Logger(f'pgclone-logger-{int(time.time())}')
      logger.setLevel(level)
      handler = logging.StreamHandler()
      handler.setLevel(level)
      logger.addHandler(handler)
  
      return logger
code_tokens: def new_stdout_logger ( level = logging . INFO ) : logger = logging . Logger ( f'pgclone-logger-{int(time.time())}' ) logger . setLevel ( level ) handler = logging . StreamHandler ( ) handler . setLevel ( level ) logger . addHandler ( handler ) return logger
short_docstring: Make a temporary pgclone logger to go to stdout
short_docstring_tokens: Make a temporary pgclone logger to go to stdout
comment: """Make a temporary pgclone logger to go to stdout"""