import logginglogging.basicConfig(level=logging.DEBUG)def test_demo(): logging.debug("This is a log!")控制檯輸出:Testing started at 17:28 .
確定! 回上一頁