Logging using Crashlytics

前端 未结 5 2097

I am using multiple Crashlytics.log() commands, for example:

Crashlytics.log(\"This is message 1\");
Crashlytics.log(\"This is message 2\"); 
         


        
5条回答
  •  难免孤独
    2021-02-19 00:44

    I'd like to add a note to other passersby that the extra logs are only viewable on a per session basis. In a given issue, click the View All Sessions button and you'll see additional info for keys and logs. All logs held by fabric are shown here, so you can log numerous times before the exception. This took a surprisingly long time for me to realize.

    As others have noticed and as documented, Crashlytics may not send the log reports until a throwable is logged via logException. Keep that in mind if the logs aren't appearing on that screen.

提交回复
热议问题