mirror of
				https://github.com/strapi/strapi.git
				synced 2025-10-31 01:47:13 +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}`);
 | |
|   },
 | |
| };
 | 
