Firebase. Crashlytics. Crashlytics
Summary
Properties |
|
---|---|
IsCrashlyticsCollectionEnabled = false
|
static bool
Checks whether the Crashlytics specific data collection flag has been enabled.
|
ReportUncaughtExceptionsAsFatal
|
static bool
Whether Crashlytics is set to report uncaught exceptions as fatal.
|
Public static functions |
|
---|---|
Log(string message)
|
void
Add text logs that will be sent with the next crash report.
|
LogException(Exception exception)
|
void
Record a non-fatal exception.
|
SetCustomKey(string key, string value)
|
void
Set a key/value pair to be sent with the next crash report.
|
SetUserId(string identifier)
|
void
Optionally set an end-user's ID number, token, or other unique value to be associated with subsequent crash reports.
|
Properties
IsCrashlyticsCollectionEnabled
static bool IsCrashlyticsCollectionEnabled = false
Checks whether the Crashlytics specific data collection flag has been enabled.
Details | |
---|---|
Returns |
true if the platform level data collection flag is enabled or unset, false otherwise
|
ReportUncaughtExceptionsAsFatal
static bool ReportUncaughtExceptionsAsFatal
Whether Crashlytics is set to report uncaught exceptions as fatal.
Fatal exceptions count towards Crash Free Users and Velocity Alerts. It is recommended to enable this for new apps.
Details | |
---|---|
Returns |
true if Crashlytics is set to report uncaught exceptions as fatal, false otherwise.
|
Public static functions
Log
void Log( string message )
Add text logs that will be sent with the next crash report.
Details | |||
---|---|---|---|
Parameters |
|
LogException
void LogException( Exception exception )
Record a non-fatal exception.
Details | |||
---|---|---|---|
Parameters |
|
SetCustomKey
void SetCustomKey( string key, string value )
Set a key/value pair to be sent with the next crash report.
Details | |||||
---|---|---|---|---|---|
Parameters |
|
SetUserId
void SetUserId( string identifier )
Optionally set an end-user's ID number, token, or other unique value to be associated with subsequent crash reports.
Details | |||
---|---|---|---|
Parameters |
|