mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2026-11-03 11:55:01 +00:00
Created logger function
This commit is contained in:
1 parent
7810f6fff8
commit
b03c6fd3b0
2 files changed
+6
-1
No files matched your search
@@ -0,0 +1,4 @@
|
||||
module.exports = function (area, text){
|
||||
let date = new Date();
|
||||
console.log('[' + area + '](' + date.toISOString() + ') – ' + text);
|
||||
}
|
||||
Reference in new issue
Block a user