change logger

This commit is contained in:
grimhilt committed 2023-03-28 16:57:44 +02:00
1 parent 838550b6cc
commit 185f051a63
11 files changed
+41 -49

No files matched your search

-9
View File
@@ -1,9 +0,0 @@
const DEBUG = (function () {
const timestamp = function () {};
timestamp.toString = () => "[" + new Date().toLocaleString() + "]";
return { log: console.log.bind(console, "%s", timestamp) };
})();
module.exports = {
DEBUG,
};