Colorcode your logs to easily identify them during runtime
Change the colors in the logger.py file if needed
Otherwise no setup is needed, just import it and you are good to go!
from logger import Logger
logger = Logger("YOUR_MODULE_OR_CLASS_NAME_HERE").logger
# default/ predefined functions
logger.debug("Debug message")
logger.info("Info message")
logger.warning("Warning message")
logger.error("Error message")
logger.critical("Critical message")