Created
January 1, 2012 12:56
-
-
Save tomazk/1547266 to your computer and use it in GitHub Desktop.
Better logging levels
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
''' | |
Real life logging levels. Use this module instead of built-in logging throughout your project. | |
''' | |
from logging import * | |
fyi = debug | |
ewbte = info # everything went better than expected | |
lolwat = warn | |
omg = error | |
fml = critical |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment