/* eslint-disable no-console */
import chalk from 'chalk';

export function logConfig(caption, config) {
  console.log(chalk.cyan(caption));
  console.log(JSON.stringify(config, null, 2));
}

/* eslint-disable no-console */
import chalk from 'chalk';

export function logConfig(caption, config) {
  console.log(chalk.cyan(caption));
  console.dir(config, { depth: null });
}

Use console.dir instead of console.log
Use console.dir instead of console.log
