mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2024-12-23 05:13:17 +00:00
Updated logger function
This commit is contained in:
parent
4498efcdcd
commit
96e1ce82ae
@ -1,4 +1,4 @@
|
|||||||
module.exports = function (area, text){
|
module.exports = function (area, text){
|
||||||
let date = new Date();
|
let date = new Date();
|
||||||
console.log('[' + area + '](' + date.toISOString() + ') – ' + text);
|
console.log('[' + area + '] – ' + date.toISOString() + '\n' + text + '\n');
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user