TypeScript Initial

This commit is contained in:
Christer Warén
2023-06-04 04:07:41 +03:00
parent 4d18468e96
commit 56f0ab5a40
39 changed files with 24 additions and 30 deletions

View 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');
}