mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2024-12-23 01:53:17 +00:00
Updated logger function
This commit is contained in:
parent
eba7551329
commit
45bd690c05
@ -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');
|
||||
}
|
Loading…
Reference in New Issue
Block a user