Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

README.md

EventLogger

Version License Platform Build Status

Log event count and event time in iOS

Installation

The preferred way of installation is via CocoaPods. Just add

pod 'EventLogger'

and run pod install. It will install the most recent version of EventLogger.

How to use

Import header file

Import header file where you want to log event:

#import "EventLogger.h"

Log count event

[[EventLogger sharedInstance] addCountEventWithTag:@"click_clean"];

Log event time

Start Loging EventCount2;

[[EventLogger sharedInstance] addCountEventWithTag:@"EventCount2"];

Loging EventCount2 time from event begining;

[[EventLogger sharedInstance] addTimeEventPoint:@"e12" withTag:@"TimeEven1" andInfo:nil timeFromPoint:@nil];

Loging EventCount2 time from point e12;

[[EventLogger sharedInstance] addTimeEventPoint:@"e13" withTag:@"TimeEven1" andInfo:nil timeFromPoint:@"e12"];

That's it! Have fun with EventLogger!

ScreenShot

ScreenShot1

You can’t perform that action at this time.