mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2026-11-03 06:35:04 +00:00
Updated logger function
This commit is contained in:
1 parent
eba7551329
commit
45bd690c05
1 file changed
+2
-1
@@ -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');
|
||||
}
|
||||
Reference in new issue
Block a user