diff options
Diffstat (limited to 'src/js/arching-kaos-log.js')
-rw-r--r-- | src/js/arching-kaos-log.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/js/arching-kaos-log.js b/src/js/arching-kaos-log.js new file mode 100644 index 0000000..b812678 --- /dev/null +++ b/src/js/arching-kaos-log.js @@ -0,0 +1,9 @@ + +function archingKaosLog(message){ + var sta = document.createElement("pre"); + var lts = new Date(Date.now()); + var fmsg = lts.toISOString() + " " + message; + sta.innerText = fmsg + currentLogMessageElement.innerText = fmsg; + logsAreaElement.appendChild(sta); +} |