我在logging.py中遇到了一些问题

2024-05-29 08:27:57 发布

您现在位置:Python中文网/ 问答频道 /正文

logging.py

class DebugLogger(Logger):
    def getEffectiveLevel(x):
        if x.level == 0 and app.debug:
            return DEBUG
        return Logger.getEffectiveLevel(x)

Logger.getEffectiveLevel不需要任何参数

'x'是什么意思


Tags: andpydebugapp参数returniflogging

热门问题