会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
摩羯男
博客园
首页
新随笔
联系
订阅
管理
2022年2月15日
python日志重复的问题
摘要: 原因: handler 生成多次,每次new对象都是个新的,用单例或者判断都可以 代码: # -*- coding: utf-8 -*- """ @author:yuan_x @software:PyCharm @file:log.py @time:2020/12/17 5:15 下午 """ im
阅读全文
posted @ 2022-02-15 15:12 Yuan_x
阅读(241)
评论(0)
推荐(0)
编辑
公告