Customizing Python logger with an extra dictionary field yields traceback for external modules with KeyError

前端 未结 0 437
情歌与酒
情歌与酒 2020-12-03 06:14

For my module I\'ve defined a custom class logger:

class MyCustomLogger(Logger):
    def _log(self, level, msg, args, exc_info=None, extra=None):
        if n         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题