miso-belica/diagnostics

Add logging support

miso-belica opened this issue · 0 comments

Add support to store traceback logs via logger.exception("Message"). So compatible Handler and Formatter has to be implemented.

http://docs.python.org/3/library/logging.handlers.html?highlight=filehandler#logging.FileHandler
http://docs.python.org/3/library/logging.html?highlight=logging#logging.Formatter