Created
November 18, 2020 03:17
-
-
Save munjeli/ad5add9a472f35fdfa811646b1c371d3 to your computer and use it in GitHub Desktop.
logging config for python
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
fmt = "%(levelname)s\t%(funcName)s():%(lineno)i\t%(message)s" | |
logging.basicConfig(level=logging.DEBUG, format=fmt) | |
logger = logging.getLogger(__name__) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment