From a043cde46e46096cc2a1e9f98448a5e776286424 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christer=20War=C3=A9n?= Date: Sat, 11 Sep 2021 18:03:27 +0300 Subject: [PATCH] Update logger function --- src/client/funcs/logger.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/funcs/logger.js b/src/client/funcs/logger.js index 610fdc5..ec39d1a 100644 --- a/src/client/funcs/logger.js +++ b/src/client/funcs/logger.js @@ -1,4 +1,4 @@ -module.exports = function (area, text){ +module.exports = function logger(area, text){ let date = new Date(); console.log('[' + area + '] – ' + date.toISOString()); if(text) console.log(text + '\n');