Created
January 12, 2022 02:47
-
-
Save humbdrag/5cd779a042b75f7004affd439f5f1c7e to your computer and use it in GitHub Desktop.
[Medium] Python logging setup in package
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
logger = logging.getLogger(__name__) | |
logger.setLevel(logging.DEBUG) | |
logger.addHandler(logging.NullHandler()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment