Public
Authored by Asiri Hewage 💬

Custom Logger - Python

This simple class will enable a custom logger for your Python 3 application.

Log rotation is enabled and use the Config.py code snippet as a configuration management class.

//initialize
logger = Logger()

//info
logger.info("info")

//debug
logger.debug("debug")

//error
logger.error("error")
Edited
Logger.py 1.15 KB
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment