【发布时间】:2013-05-31 03:28:07
【问题描述】:
有没有在调试时关闭 Flurry 的有效方法?
现在我能想到的最好方法是在一个文件中以及我的所有活动中将 DEBUG 变量设置为 true
super.onStart();
if(PublicStuff.DEBUG != true) //if debug = false run this code
FlurryAgent.onStartSession(this, "2C3QVVZMX8Q5M6KF3458");
我还需要排除 Flurry logEvent 方法吗?
有没有更好的方法?
谢谢
【问题讨论】:
标签: java android debugging flurry dev-to-production