Skip to content

Instantly share code, notes, and snippets.

@tejas-kr
Created May 2, 2024 13:05
Show Gist options
  • Save tejas-kr/380120715e29ce7cb4c697d678850e32 to your computer and use it in GitHub Desktop.
Save tejas-kr/380120715e29ce7cb4c697d678850e32 to your computer and use it in GitHub Desktop.
basic_logging gist
import logging
logging.basicConfig(format='%(asctime)s::%(name)s::%(levelname)s::%(message)s', level='INFO')
logger = logging.getLogger(__name__)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment