code: function logError(terminal: Terminal, format: string, ...args: Array<mixed>): void {
    const str = util.format(format, ...args);
    terminal.log('%s: %s', chalk.red('error'), str);
  }
docs: Similar to `logWarning`, but for messages that require the user to act.