最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

java - Firebase Custom Logs Only Showing the Latest Entry - Stack Overflow

programmeradmin1浏览0评论

I use the following methods to report custom logs,

FirebaseCrashlytics.getInstance().log(msg);
FirebaseCrashlytics.getInstance().recordException(new Throwable("Custom log end"));

However, when viewing "Logs and Breadcrumbs Navigation" on the Crashlytics page in the Firebase console, only the latest custom log can be viewed. In fact, the actually recorded content has a timestamp added, and it's different each time.

I report logs using the following methods. I don't know how to configure and view them in the Firebase console.

Bundle bundle = new Bundle();
bundle.putString("test", msg);
FirebaseAnalytics.getInstance(this).logEvent("CustomLog", bundle);

I hope there are ways to view every custom log reported in the console. Please provide specific code and console configurations.

I use the following methods to report custom logs,

FirebaseCrashlytics.getInstance().log(msg);
FirebaseCrashlytics.getInstance().recordException(new Throwable("Custom log end"));

However, when viewing "Logs and Breadcrumbs Navigation" on the Crashlytics page in the Firebase console, only the latest custom log can be viewed. In fact, the actually recorded content has a timestamp added, and it's different each time.

I report logs using the following methods. I don't know how to configure and view them in the Firebase console.

Bundle bundle = new Bundle();
bundle.putString("test", msg);
FirebaseAnalytics.getInstance(this).logEvent("CustomLog", bundle);

I hope there are ways to view every custom log reported in the console. Please provide specific code and console configurations.

Share Improve this question edited Nov 19, 2024 at 5:15 James Z 12.3k10 gold badges27 silver badges47 bronze badges asked Nov 19, 2024 at 4:36 Politchi LiPolitchi Li 111 bronze badge
Add a comment  | 

1 Answer 1

Reset to default 0

You need to check Firebase Analytics Console, not Crashlytics. Custom events reported using logEvent will appear there

发布评论

评论列表(0)

  1. 暂无评论