Skip to content

Instantly share code, notes, and snippets.

@anteaya
Created January 30, 2013 20:07
Show Gist options
  • Save anteaya/4676393 to your computer and use it in GitHub Desktop.
Save anteaya/4676393 to your computer and use it in GitHub Desktop.
import logging
logging.basicConfig()
LOG = logging.getLogger(__name__)
def foo():
LOG.critical("foo was called")
print "Hello World!"
foo()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment