Here is my code
import logging
logging.basicConfig(level = logging.DEBUG)
logging.debug("This is debug")
logging.info("This is info")
logging.warning("This is warning")
logging.error("This is error")
logging.critical("This is critical")
This code is not generating any output. I know that logging level is by default to warning, that is why I changed it to DEBUG
level so that all 5 levels are printed.
Kindly assist.