关于Python语言的logging模块的使用

从Python2.3版本中开始引入的logging模块为应用提供了灵活的日志系统。以前看过,但一直认为很复杂。其实 logging 做得很好,也不是很复杂。logging的行为依靠调用 Logger 类的方法来实现,实例一般叫做logger。

发表评论?

1 条评论。

发表评论


注意 - 你可以用以下 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>