Adding chapter 4 source code

This commit is contained in:
muassif
2021-02-21 19:22:50 +04:00
committed by GitHub
parent 801ff51fdc
commit e8469ec365
32 changed files with 405 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
#logging2.py
import logging
logger1 = logging.getLogger("my_logger")
logging.basicConfig()
logger1.setLevel(logging.INFO)
logger1.warning("This is a warning message")
logger1.info("This is a info message")
logger1.debug("This is a debug messag")
logging.info("This is an info message")