【发布时间】:2016-09-15 14:49:22
【问题描述】:
每当我启动 FireBase 应用时,它都会记录各种 Firebase 功能的状态。现在这是正在记录的内容:
Configuring the default app.
<FIRAnalytics/INFO> Firebase Analytics v.3200000 started
<FIRAnalytics/INFO> To enable debug logging set the following application argument: -FIRAnalyticsDebugEnabled (see ...)
<FIRAnalytics/INFO> Successfully created Firebase Analytics App Delegate Proxy automatically. To disable the proxy, set the flag FirebaseAppDelegateProxyEnabled to NO in the Info.plist
<FIRInstanceID/WARNING> FIRInstanceID AppDelegate proxy enabled, will swizzle app delegate remote notification handlers. To disable add "FirebaseAppDelegateProxyEnabled" to your Info.plist and set it to NO
<FIRAnalytics/INFO> Firebase Analytics enabled
我查看了 pod 并没有找到任何打印语句,那么我还要如何阻止这些语句在我运行应用程序时被超时记录?
【问题讨论】:
-
我同意你的看法。我也在寻找一种禁用消息的方法。
-
找到方法了吗?
-
绝对应该有关闭消息的情况。记录其中的数量无关紧要。我不介意收到警告和错误,但毫无疑问,最初的消息会分散注意力。