Created
January 26, 2013 19:26
-
-
Save j00bar/4643960 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
import logging | |
log = logging.getLogger(__name__) | |
def fn(*args): | |
log.debug('Got %s as args' % (args,)) | |
log.info('This function does nothing.') | |
log.warning("We've run out of Colombian coffee.") | |
sys.stderr.write('This is on stderr.\n') | |
sys.stdout.write('This is on stdout.\n') | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment