ruch
Version:
Revolutionary React TypeScript CLI with hexagonal architecture & AI-powered development assistance. Create maintainable, scalable applications with domain-driven design and integrated AI tooling.
19 lines (18 loc) • 504 B
text/typescript
import chalk from 'chalk';
export const logger = {
success: (message: string) => {
console.log(chalk.green('✅'), chalk.green(message));
},
error: (message: string) => {
console.log(chalk.red('❌'), chalk.red(message));
},
warning: (message: string) => {
console.log(chalk.yellow('⚠️'), chalk.yellow(message));
},
info: (message: string) => {
console.log(chalk.blue('ℹ️'), chalk.blue(message));
},
log: (message: string) => {
console.log(message);
}
};