Jak*_*lář 2 logging ios firebase firebase-analytics
我从Google服务中获取了两次所有记录的消息.使用Google Analytics的标准Google实施进行测试.(这个标准配置代码被调用一次 - 即使它无关紧要)
// Configure tracker from GoogleService-Info.plist.
NSError *configureError;
[[GGLContext sharedInstance] configureWithError:&configureError];
NSAssert(!configureError, @"Error configuring Google services: %@", configureError);
// Optional: configure GAI options.
GAI *gai = [GAI sharedInstance];
gai.trackUncaughtExceptions = YES; // report uncaught exceptions
gai.logger.logLevel = kGAILogLevelVerbose; // remove before app release
Run Code Online (Sandbox Code Playgroud)
日志:
2016-10-23 22:06:22.354166 [692:208692] [Firebase/Core][I-COR000001] Configuring the default app.
2016-10-23 22:06:22.354 [692] <Debug> [Firebase/Core][I-COR000001] Configuring the default app.
2016-10-23 22:06:22.374475 [692:208692] <FIRAnalytics/INFO> Firebase Analytics v.3404000 started
2016-10-23 22:06:22.374 [692:] <FIRAnalytics/INFO> Firebase Analytics v.3404000 started
...
Run Code Online (Sandbox Code Playgroud)
怎么会?
归档时间: |
|
查看次数: |
466 次 |
最近记录: |