feat(lib): adding the info log

This commit is contained in:
Raphael 2025-11-25 15:13:13 +01:00 committed by Raphaël
parent 9493cb7cd9
commit 2fdff650cc

View file

@ -13,6 +13,9 @@ export const log = {
console.error(chalk.redBright(`\t${error.message}`));
console.error(chalk.redBright(`\tStack:\n${error.stack ?? 'No stack available'}`));
},
info: (str: string) => {
console.log(chalk.grey(` | ${str}`));
},
success: (str: string) => {
console.log(chalk.greenBright(`✅ | ${str}`));
},