({ chalk: c })
| 19 | |
| 20 | // Translates log levels to chalk colors |
| 21 | const COLOR_PALETTE = ({ chalk: c }) => ({ |
| 22 | heading: c.bold, |
| 23 | title: c.blueBright, |
| 24 | timing: c.magentaBright, |
| 25 | // loglevels |
| 26 | error: c.red, |
| 27 | warn: c.yellow, |
| 28 | notice: c.cyanBright, |
| 29 | http: c.green, |
| 30 | info: c.cyan, |
| 31 | verbose: c.blue, |
| 32 | silly: c.blue.dim, |
| 33 | }) |
| 34 | |
| 35 | const LEVEL_OPTIONS = { |
| 36 | silent: { |