In real time api is there a function that intercepts all the errors? By analogy with js:
"window.onerror = function (errorMsg, url, lineNumber) { ... }"
Hi Vsevolod,
The realtime.log collection in the NoSQL Tab should contain any global errors in a realtime script. You can also use RTLogger to log any debug messages you may need, I've provided a link to the documentation here: https://docs.gamesparks.com/api-documentation/realtime-api/rtlogger.html
I'd imagine you could write a function similar to your needs using RTLogger to actually log the data.
Hope this helps
- Steve
Vsevolod Miroshnikov
In real time api is there a function that intercepts all the errors? By analogy with js:
"window.onerror = function (errorMsg, url, lineNumber) { ... }"
Hi Vsevolod,
The realtime.log collection in the NoSQL Tab should contain any global errors in a realtime script. You can also use RTLogger to log any debug messages you may need, I've provided a link to the documentation here: https://docs.gamesparks.com/api-documentation/realtime-api/rtlogger.html
I'd imagine you could write a function similar to your needs using RTLogger to actually log the data.
Hope this helps
- Steve
Customer Support
Hi Vsevolod,
The realtime.log collection in the NoSQL Tab should contain any global errors in a realtime script. You can also use RTLogger to log any debug messages you may need, I've provided a link to the documentation here: https://docs.gamesparks.com/api-documentation/realtime-api/rtlogger.html
I'd imagine you could write a function similar to your needs using RTLogger to actually log the data.
Hope this helps
- Steve
-
Documentation Notes
-
Design issues with user events
-
Using NoSQL
-
Runtime Collections vs Metadata Collections
-
Anonymous authentication from browser app
-
Modules
-
Movement With Unity
-
Problem with url parameters for downloadables
-
Querying NoSql GameSparks database
-
Challenge accesType
See all 2487 topics