Skip to content

Instantly share code, notes, and snippets.

@sureshsarda
Created September 23, 2017 04:55
Show Gist options
  • Save sureshsarda/3ac42b50a578967a583ced05b1e7a2a3 to your computer and use it in GitHub Desktop.
Save sureshsarda/3ac42b50a578967a583ced05b1e7a2a3 to your computer and use it in GitHub Desktop.
Boiler plate code for every file to start with logging
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