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