rename base.nettool to base.tool; add tool4net.js and tool4log.js
This commit is contained in:
7
tool4log.js
Normal file
7
tool4log.js
Normal file
@@ -0,0 +1,7 @@
|
||||
const colors = require('colors')
|
||||
|
||||
module.exports = {
|
||||
colog(...args) {
|
||||
console.log(colors.green({time: new Date().toJSON()}), ...args)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user