utils.py 文件源码

python
阅读 28 收藏 0 点赞 0 评论 0

项目:exconf 作者: maginetv 项目源码 文件源码
def init_logging_stderr(log_level='notset', bubble=False):
    handler = logbook.more.ColorizedStderrHandler(level=figure_out_log_level(log_level),
                                                  bubble=bubble)
    handler.format_string = '{record.time:%Y-%m-%dT%H:%M:%S.%f} ' \
                            '{record.level_name} {record.channel}: {record.message}'
    handler.push_application()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号