mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2025-08-15 22:57:11 +00:00
Created logger function
This commit is contained in:
4
src/client/funcs/logger.js
Normal file
4
src/client/funcs/logger.js
Normal file
@@ -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