// Hatchway CLI - Built with Rollup
import chalk from 'chalk';

/**
 * CLI logger with colored output
 */
class Logger {
    constructor(verbose = false) {
        this.verbose = verbose;
    }
    info(message) {
        console.log(chalk.blue('ℹ'), message);
    }
    success(message) {
        console.log(chalk.green('✔'), message);
    }
    warn(message) {
        console.log(chalk.yellow('⚠'), message);
    }
    error(message) {
        console.error(chalk.red('✖'), message);
    }
    debug(message) {
        if (this.verbose) {
            console.log(chalk.gray('[debug]'), message);
        }
    }
    log(message) {
        console.log(message);
    }
    section(title) {
        console.log('\n' + chalk.bold(title));
    }
}
const logger = new Logger();

export { logger as l };
//# sourceMappingURL=logger-6V5cBxba.js.map
