diff --git a/app/ayanova/src/utils/logit.js b/app/ayanova/src/utils/logit.js index 9c6e310e..0fe86783 100644 --- a/app/ayanova/src/utils/logit.js +++ b/app/ayanova/src/utils/logit.js @@ -14,5 +14,8 @@ export default { msg = Date.now() + "|" + msg; buffer.push(msg); store.commit("setLog", buffer.toArray()); + }, + getLogText(){ + //TODO: iterate the array from store, convert timestamps to local date and time and arrange as a block of multiline text to display in the UI } }; diff --git a/app/ayanova/src/views/log.vue b/app/ayanova/src/views/log.vue index 15da95ec..3d0e64e0 100644 --- a/app/ayanova/src/views/log.vue +++ b/app/ayanova/src/views/log.vue @@ -7,7 +7,7 @@