Crashlytics自定义日志未出现在控制台中

Crashlytics自定义日志未出现在控制台中

本文介绍了Firebase Crashlytics自定义日志未出现在控制台中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在测试 Firebase Crashlytics ,即使正常的崩溃报告正常运行,我也无法成功尝试生成自定义,因为它说

包含此错误内的其他日志条目

I've been testing Firebase Crashlytics and even though the normal crash report works right I can't success trying to generate a custom as it says the documentation.

Crashlytics.log(msg);

I also would like to know wether setting the user identifier for Crashlytics can be done for any crash (according to the doc I've understood that it's possible) with

void Crashlytics.setUserIdentifier(String identifier);

and how it would have to be done, because it does neither work to me, I can't see anything on the Firebase crashlytics console.

Thanks in advance!

解决方案

For a better understanding, when you collect data with

FirebaseCrashlytics.getInstance().log("Test w(text)")
FirebaseCrashlytics.getInstance().log("Test e(text)")

you will get NO new non-fatal crash report in Firebase crashlytics.But follow up by a

FirebaseCrashlytics.getInstance().recordException(RunTimeException("Test e(throwable)"))

it will send this error

with this additional log entries within this error

这篇关于Firebase Crashlytics自定义日志未出现在控制台中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-04 20:10