Created
June 21, 2019 15:48
-
-
Save blade2005/f4ca131dde6e8c043cded3be19044b97 to your computer and use it in GitHub Desktop.
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 | |
FORMAT = '%(asctime)-15s %(levelname)s %(module)s.%(funcName)s %(message)s' | |
DATEFMT = "%Y-%m-%d %H:%M:%S" | |
logging.basicConfig(level=logging.INFO, format=FORMAT, datefmt=DATEFMT) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment