1.0.4 • Published 2 years ago
log-utils.js v1.0.4
log-utils.js
log your stuff with colors!
get started
const logJS = require('log-utils.js');
// initialize logger
const Logger = new logJS('./log.json');
// print log to console
async function run() {
await Logger.printLog("all");
}
run();