iOS 事件记录框架 EventLogger
- 授权协议: Apache
- 开发语言: Objective-C
- 操作系统: iOS
- 软件首页: https://github.com/yourtion/EventLogger
- 软件文档: https://github.com/yourtion/EventLogger
软件介绍
EventLogger 是 iOS 开发中事件记录框架,方便进行事件统计,包括计数事件与计时事件,如:统计某按钮的点击次数,两个事件发生的时间差等,使用简单。
计数事件:
[[EventLogger sharedInstance] addCountEventWithTag:@"click_clean"];
计时事件:
// 开始事件 EventCount2; [[EventLogger sharedInstance] addCountEventWithTag:@"EventCount2"]; // 记录 EventCount2 从开始至今的时间; [[EventLogger sharedInstance] addTimeEventPoint:@"e12" withTag:@"TimeEven1" andInfo:nil timeFromPoint:@nil]; // 记录 EventCount2 从 e12 点至今的时间; [[EventLogger sharedInstance] addTimeEventPoint:@"e13" withTag:@"TimeEven1" andInfo:nil timeFromPoint:@"e12"];
