背景
原生的logging库是不支持多进程的日志打印的,网上找了下,发现有人已经二次封装好了,直接拿来用,目前测试下来一切稳定,完美支持原生logging库的方法
源码链接
https://github.com/wandaoe/concurrent_log
Python使用
<code>pip install concurrent-log </code>
www#gaodaima.com来源gao.dai.ma.com搞@代*码网搞代码
原生的logging库是不支持多进程的日志打印的,网上找了下,发现有人已经二次封装好了,直接拿来用,目前测试下来一切稳定,完美支持原生logging库的方法
https://github.com/wandaoe/concurrent_log
<code>pip install concurrent-log </code>
www#gaodaima.com来源gao.dai.ma.com搞@代*码网搞代码