mirror of
https://github.com/strapi/strapi.git
synced 2025-07-23 17:10:08 +00:00
18 lines
311 B
JavaScript
18 lines
311 B
JavaScript
'use strict';
|
|
|
|
const chalk = require('chalk');
|
|
|
|
module.exports = {
|
|
error(message) {
|
|
console.error(`${chalk.red('error')}: ${message}`);
|
|
},
|
|
|
|
warn(message) {
|
|
console.log(`${chalk.yellow('warning')}: ${message}`);
|
|
},
|
|
|
|
info(message) {
|
|
console.log(`${chalk.blue('info')}: ${message}`);
|
|
},
|
|
};
|