rename base.nettool to base.tool; add tool4net.js and tool4log.js

This commit is contained in:
Luk Lu
2022-03-11 10:50:16 +08:00
parent 7aa865bd25
commit cfb66c3eec
4 changed files with 83 additions and 66 deletions

7
tool4log.js Normal file
View File

@@ -0,0 +1,7 @@
const colors = require('colors')
module.exports = {
colog(...args) {
console.log(colors.green({time: new Date().toJSON()}), ...args)
}
}