This repository has been archived by the owner on Nov 1, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
Error Event
Martin Treacy-Schwartz edited this page Mar 15, 2017
·
2 revisions
Used to track custom error events in the game. You can group the events by severity level and attach a message.
To add a custom error event call the following function:
gameanalytics::GameAnalytics::addErrorEvent(gameanalytics::EGAErrorSeverity::Debug, "Something went bad in some of the smelly code!");
Field | Type | Description | Example |
---|---|---|---|
severity | enum | Severity of error | gameanalytics::EGAErrorSeverity::Debug gameanalytics::EGAErrorSeverity::Info gameanalytics::EGAErrorSeverity::Warning gameanalytics::EGAErrorSeverity::Error gameanalytics::EGAErrorSeverity::Critical |
message | string | Error message (can be null) | "Error when entering level12" |
ℹ️
For more information on the error event go here.