简体   繁体   English

使用python 2.7。 登录python 2.6

[英]Using python 2.7. logging in python 2.6

Is there a way to use the logging package of python 2.7 in python 2.6? 有没有办法在python 2.6中使用python 2.7的日志记录包?

There are a few things that I need like not disabling existing loggers or the dictConfig function . 我需要做一些事情,例如不禁用现有的记录器或dictConfig函数

logutils软件包可能会满足您的需求-它将某些功能(包括dictConfig()移植到早期的Python版本。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM