diff --git a/src/client/funcs/logger.js b/src/client/funcs/logger.js index 851a8d1..80ce35c 100644 --- a/src/client/funcs/logger.js +++ b/src/client/funcs/logger.js @@ -1,4 +1,5 @@ module.exports = function (area, text){ let date = new Date(); - console.log('[' + area + '] – ' + date.toISOString() + '\n' + text + '\n'); + console.log('[' + area + '] – ' + date.toISOString()); + if(text) console.log(text + '\n'); } \ No newline at end of file