Last active
December 2, 2022 19:33
-
-
Save borwickatuw/7c546821b69e1dea3a6b21ffad893614 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 logging | |
| import os | |
| if os.environ.get('DEBUG', False): | |
| logging.basicConfig(level=logging.DEBUG) | |
| else: | |
| logging.basicConfig(level=logging.INFO) | |
| logger = logging.getLogger() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment