Created
August 8, 2020 10:26
-
-
Save ibtesam123/3d8dc82eeb3b6a57d4efeabbdc1798e5 to your computer and use it in GitHub Desktop.
Production-Ready app
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Crashlytics can be used for logging | |
Crashlytics.instance.log('This is for logging'); | |
try { | |
throw 'Error Example'; | |
} catch (e, s) { | |
// "context" will append the word "thrown" in the Crashlytics console. | |
Crashlytics.instance.recordError(e, s, context: 'as an example'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment