summaryrefslogtreecommitdiff
path: root/js/logging.js
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2022-03-27 21:29:24 +0200
committerMinteck <contact@minteck.org>2022-03-27 21:29:24 +0200
commit226516aca48e97d3dc4e4df213bc2023e64b1afd (patch)
tree60fb4f24b75b120e7e5b0e149069b16367c48aa0 /js/logging.js
downloadargon-226516aca48e97d3dc4e4df213bc2023e64b1afd.tar.gz
argon-226516aca48e97d3dc4e4df213bc2023e64b1afd.tar.bz2
argon-226516aca48e97d3dc4e4df213bc2023e64b1afd.zip
Initial commit
Diffstat (limited to 'js/logging.js')
-rw-r--r--js/logging.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/js/logging.js b/js/logging.js
new file mode 100644
index 0000000..86a96a3
--- /dev/null
+++ b/js/logging.js
@@ -0,0 +1,3 @@
+function log(message) {
+ console.log('%c[' + new Date().toISOString() + "]%c " + message, 'font-family: monospace; background: rgba(0, 0, 0);', 'opacity: 1;');
+} \ No newline at end of file