9 lines
198 B
JavaScript
9 lines
198 B
JavaScript
const colors = require("colors");
|
|
module.exports = {
|
|
info(msg) {
|
|
console.log(`${colors.cyan.bold("[INFO]")} ${msg}`);
|
|
},
|
|
error(msg) {
|
|
console.log(`${colors.red.bold("[ERROR]")} ${msg}`);
|
|
}
|
|
} |