How should I properly log my class container?

后端 未结 0 1348
遇见更好的自我
遇见更好的自我 2021-01-25 05:46

I have the following situation:

class A():
    def __init__(self, log = True):
        self.log = log

    def __call__(self):
        if self.log:
                      


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