aboutsummaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml/DiveList.qml
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2019-10-30 09:16:58 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-11-03 04:02:00 -0800
commit113cb1acc0b6b44b416272ae417a3f35fba2cc83 (patch)
tree7b8ec904fc7abaf21e6c31ef7a0b9553ad60dfde /mobile-widgets/qml/DiveList.qml
parent9c8fbe494db231b59c2e072b54af85bc217c00d8 (diff)
downloadsubsurface-113cb1acc0b6b44b416272ae417a3f35fba2cc83.tar.gz
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>
Diffstat (limited to 'mobile-widgets/qml/DiveList.qml')
-rw-r--r--mobile-widgets/qml/DiveList.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/mobile-widgets/qml/DiveList.qml b/mobile-widgets/qml/DiveList.qml
index d4173d5f7..3172f71b7 100644
--- a/mobile-widgets/qml/DiveList.qml
+++ b/mobile-widgets/qml/DiveList.qml
@@ -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
}
}