Updated logger function

This commit is contained in:
Christer Warén 2021-08-26 22:06:26 +03:00
parent 4498efcdcd
commit 96e1ce82ae

View File

@ -1,4 +1,4 @@
module.exports = function (area, text){
let date = new Date();
console.log('[' + area + '](' + date.toISOString() + ') ' + text);
console.log('[' + area + '] ' + date.toISOString() + '\n' + text + '\n');
}