Reputation: 1915
I am using Fabric crashlytics for crash reporting. Fabric write log to android logcat in addition to fabric dashboard. I want to disable android logcat messages, but found no such method.
Upvotes: 0
Views: 376
Reputation: 16249
You want to use Crashlytics.log(msg);
not Crashlytics.log(int priority, String tag, String msg);
.
From the documentation
"The recommended way to add custom logging to your app is Crashlytics.log(int priority, String tag, String msg);
. In addition to writing to the next crash report, it will also write to the LogCat using android.util.Log.println(priority, tag, msg
). If you don’t want to write to LogCat you should call: Crashlytics.log(msg);
which will only write to the Crashlytics crash report."
Upvotes: 3