pythonã®å
¬å¼ããã¥ã¡ã³ãã¯ã©ãã«ãä¸èªç±ãªæ¥æ¬èªãªã®ã§ã¾ã¨ãç´ããããã¦èªã¿ãã:Loggingã¢ã¸ã¥ã¼ã«ã®ã¤ã¡ã¼ã¸Loggerãªãã¸ã§ã¯ãloggerãªãã¸ã§ã¯ããåã¢ã¸ã¥ã¼ã«ã«æ示ãã( logging.getLogger("hogehoge") )ãã¨ã§ããã°ãåéãããloggerã¯ååã§ç®¡çãããéãã¢ã¸ã¥ã¼ã«ã§ãåãååãæå®ããã¨åãloggerã«ãªããæ¨æ§é loggerã¯é層æ§é ãæã¡ãååãããªãªãã§åå²ãããã¨ã§è¡¨ç¾ãããPython ããã±ã¼ã¸åå空éã«ãããã¢ã¸ã¥ã¼ã«åã¯Â __name__ ã§åå¾ã§ããã®ã§ãlogging.getLogger(__name__)ã使ã£ã¦lo... å¦ç¿ èªç¶ãªåãçããè¡ãæ¥æ¬èªã®ãã¼ã¿ã»ããã¨ãããã¨ã§ãask.fmãã¯ãã¼ã«ãããã¼ã¿ãç¨ããã ask.fmã®ãã£ã¬ã¯ããªã¯âask.fm/ã¢ã«ã¦ã³ãåâã®ããã«ãªã£ã¦ãã¦ã
{{#tags}}- {{label}}
{{/tags}}