跳转到主要内容

用于编写业务事件的Python模块

项目描述

安装

$ sudo pip install eventlog-writer

用法

import eventlog
eventlog.register(0x123ab, 'SOME_EVENT', 'first', 'second', 'third')
eventlog.log(0x123ab, first='a', second=123, third='foobar')

由以下赞助

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