Created
September 23, 2017 04:55
-
-
Save sureshsarda/3ac42b50a578967a583ced05b1e7a2a3 to your computer and use it in GitHub Desktop.
Boiler plate code for every file to start with logging
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 logging | |
logging.basicConfig(level=logging.DEBUG) | |
logger = logging.getLogger(__name__) | |
logger.debug('Hello, Logging!') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment