Skip to content

Instantly share code, notes, and snippets.

@techniq
Created February 1, 2013 15:47
Show Gist options
  • Select an option

  • Save techniq/4692114 to your computer and use it in GitHub Desktop.

Select an option

Save techniq/4692114 to your computer and use it in GitHub Desktop.
Echo logging to console
import logging
root = logging.getLogger()
root.addHandler(logging.StreamHandler())
root.setLevel(logging.DEBUG)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment