Created
December 31, 2015 18:12
-
-
Save dapperfu/84226948a099666fb7be to your computer and use it in GitHub Desktop.
Quick and Dirty logger setup.
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
""" | |
Logging | |
""" | |
import logging | |
# Setup logging. | |
log=logging.getLogger(__name__) | |
critical = log.critical | |
error = log.error | |
warn = log.warning | |
info = log.info | |
debug = log.debug |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment