Skip to content

Instantly share code, notes, and snippets.

@shaowei-su
Created September 6, 2019 22:41
Show Gist options
  • Save shaowei-su/77e1189f5ce7b060e7b6fd09b39c7f8c to your computer and use it in GitHub Desktop.
Save shaowei-su/77e1189f5ce7b060e7b6fd09b39c7f8c to your computer and use it in GitHub Desktop.
Python add log to sdt out
logging.basicConfig(stream=sys.stdout, level=logging.DEBUG)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment