Skip to content

Instantly share code, notes, and snippets.

@ouyen
Created January 28, 2022 08:10
Show Gist options
  • Save ouyen/e09c22b95b96efb9adde9164a445cadb to your computer and use it in GitHub Desktop.
Save ouyen/e09c22b95b96efb9adde9164a445cadb to your computer and use it in GitHub Desktop.
import logging
logging.basicConfig(
level=logging.INFO,
format='%(asctime)s [%(levelname)s] %(message)s',
datefmt='%Y-%m-%d T %H:%M:%S')
logging.info('hi')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment