40

GitHub - stoic1979/PyLogger: A singleton logger that will be used globally by th...

 5 years ago
source link: https://github.com/stoic1979/PyLogger
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md

PyLogger

A singleton logger that will be used globally by the project

Notes

  • This logger runs in python3.
  • You can change the format of log messages to your desired one.

Sample usage

from logger import get_logger
log = get_logger()
log.info("hello navi")
log.debug("its some debug msg")

Alt text


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK