跳转到主要内容

Pythonic logger

项目描述

Twiggy是一个Pythonic logger。

Latest Version https://img.shields.io/travis/wearpants/twiggy.svg Documentation
>>> from twiggy import quick_setup, log
>>> quick_setup()
>>> log.name('frank') \
...    .fields(number=42) \
...    .info('hello {who}, it's a {0} day',
             'sunny',
             who='world')
INFO:frank:number=42:hello world, it's a sunny day

您应该使用Twiggy,因为它很棒。有关更多信息,请阅读文档查看此博客文章

由...

AWS AWS 云计算和安全赞助商 Datadog Datadog 监控 Fastly Fastly CDN Google Google 下载分析 Microsoft Microsoft PSF 赞助商 Pingdom Pingdom 监控 Sentry Sentry 错误日志 StatusPage StatusPage 状态页面