[ReactNative] Better profiling API + Fix overlaping events

This commit is contained in:
Tadeu Zagallo
2015-04-20 04:55:05 -07:00
parent fde476f4e5
commit fb1fa12e89
9 changed files with 328 additions and 98 deletions

View File

@@ -45,6 +45,11 @@ typedef void (^RCTLogFunction)(
NSString *message
);
/**
* Get a given thread's name (or the current queue, iff in debug mode)
*/
NSString *RCTThreadName(NSThread *);
/**
* A method to generate a string from a collection of log data. To omit any
* particular data from the log, just pass nil or zero for the argument.