Created
May 2, 2024 13:05
-
-
Save tejas-kr/380120715e29ce7cb4c697d678850e32 to your computer and use it in GitHub Desktop.
basic_logging gist
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(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