log.js 144 Bytes
Newer Older
1
const chalk = require('chalk');
邓晓峰's avatar
邓晓峰 committed
2 3 4
const Log = (...rest) =>
  console.log(`${chalk.blue('[openAPI]')}: ${rest.join('\n')}`);
module.exports = Log;