Felix Epp
62af9ff678
Add user-agent string to DebugLog // fixes WhisperSystems/Signal-Desktop#404
...
The user-agent string includes the information needed (OS + Chrome version) and the console.get() function seems just right. The debugLog itself is not manipulated.
9 years ago
lilia
ae3a834b4c
Log global errors
...
Use the global error handler, window.onerror, to catch miscellaneous
exceptions and pipe them into the debug log.
Fixes #456
// FREEBIE
10 years ago
lilia
ea87062d92
Post debug logs as non public gists
...
// FREEBIE
10 years ago
lilia
b60d3d0b97
Make debug log handle multiple arguments
...
Ex: console.log('delivery receipt', phone_number, timestamp)
// FREEBIE
10 years ago
lilia
f74a7b9621
Add code for submitting debug logs
...
We keep the last 1000 log messages in memory and dump them to an
anonymous public gist if console.post is called.
// FREEBIE
10 years ago