Skip to content

Instantly share code, notes, and snippets.

@aarong1
Created May 20, 2023 14:39
Show Gist options
  • Save aarong1/ad6d68332e38843e61f0b1fff36803f0 to your computer and use it in GitHub Desktop.
Save aarong1/ad6d68332e38843e61f0b1fff36803f0 to your computer and use it in GitHub Desktop.
import logging
logging.basicConfig(level=logging.INFO, format="%(asctime)s - %(name)s - %(levelname)s - %(message)s")
logging.info(f'This is a logging message with an {fstring}')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment