Created
December 8, 2013 13:06
-
-
Save hideshi/7857163 to your computer and use it in GitHub Desktop.
The most simple way to write debug log.
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
debug = True | |
print('debug1') if debug else '' | |
debug = False | |
print('debug2') if debug else '' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment