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

I use the following methods to report custom logs,FirebaseCrashlytics.getInstance().log(msg);Firebase

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

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745582031a4634311.html

相关推荐

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

    I use the following methods to report custom logs,FirebaseCrashlytics.getInstance().log(msg);Firebase

    17小时前
    20

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信