如何在Google Analytics中将日志级别正确设置为详细信息?

时间:2014-06-27 07:16:15

标签: android logging google-analytics google-analytics-v4

在文件夹res/xml中,我的文件analytics.xml包含以下行:

<string name="ga_logLevel">verbose</string>

但是,在我onCreate()的{​​{1}}方法中,我称之为:

Activity

输出为false,不是真的。那为什么呢?

1 个答案:

答案 0 :(得分:4)

这应该可以解决问题:

GoogleAnalytics.getInstance(this).getLogger().setLogLevel(LogLevel.VERBOSE);
相关问题