From 226516aca48e97d3dc4e4df213bc2023e64b1afd Mon Sep 17 00:00:00 2001 From: Minteck Date: Sun, 27 Mar 2022 21:29:24 +0200 Subject: Initial commit --- js/logging.js | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 js/logging.js (limited to 'js/logging.js') 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 -- cgit