(color, msgs)
| 3 | import { red, yellow, green } from 'cli-color' |
| 4 | |
| 5 | function logWithColor(color, msgs) { |
| 6 | console.log(...[ color('[react-project]') ].concat(msgs)) |
| 7 | } |
| 8 | |
| 9 | export function log(...msgs) { |
| 10 | console.log(...[ '[react-project]' ].concat(msgs)) |