Mobile: use appendTextToLog to get timestamps in logs

This helps tremendously when tracking down some problems. We should
never use console.log.

In the process this also updates a couple of the messages to be clearer.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2019-10-30 09:16:58 +01:00
parent 9c8fbe494d
commit 113cb1acc0
6 changed files with 30 additions and 30 deletions

View file

@ -29,8 +29,8 @@ Kirigami.ScrollablePage {
manager.saveChangesCloud(true)
refreshing = false
} else {
console.log("sync with cloud storage requested, but credentialStatus is " + prefs.credentialStatus)
console.log("no syncing, turn off spinner")
manager.appendTextToLog("sync with cloud storage requested, but credentialStatus is " + prefs.credentialStatus)
manager.appendTextToLog("no syncing, turn off spinner")
refreshing = false
}
}