摘要: importosimportjsonimportlogging.configimportlogginglogging.basicConfig(filename='C:\\Users\\user\\Desktop\\log.txt',level=logging.DEBUG,filemode='w',format='%(asctime)s-%(levelname)s:%(message)s')logger=logging.getLogger('root')logger.info('info ***')logger.er 阅读全文
posted @ 2013-10-17 13:24 taotaowill 阅读(439) 评论(0) 推荐(0) 编辑