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

@ -247,7 +247,7 @@ Kirigami.Page {
function startEditMode() {
if (!currentItem.modelData) {
console.log("DiveDetails trying to access undefined currentItem.modelData")
manager.appendTextToLog("DiveDetails trying to access undefined currentItem.modelData")
return
}