mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2025-07-02 03:03:37 +00:00
TypeScript Initial
This commit is contained in:
5
src/client/funcs/logger.ts
Normal file
5
src/client/funcs/logger.ts
Normal file
@ -0,0 +1,5 @@
|
||||
module.exports = function logger(area, text){
|
||||
let date = new Date();
|
||||
console.log('[' + area + '] – ' + date.toISOString());
|
||||
if(text) console.log(text + '\n');
|
||||
}
|
Reference in New Issue
Block a user