从Python2.3版本中开始引入的logging模块为应用提供了灵活的日志系统。以前看过,但一直认为很复杂。其实 logging 做得很好,也不是很复杂。logging的行为依靠调用 Logger 类的方法来实现,实例一般叫做logger。
牛x!
注意 - 你可以用以下 HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>
昵称
邮箱
网址
在此浏览器中保存我的显示名称、邮箱地址和网站地址,以便下次评论时使用。
Δ
牛x!