code: function writeLog () {
    if (mocking) {
      cli.stdout += stripAnsi(concatArguments(arguments))
    } else {
      process.stdout.write.apply(process.stdout, arguments)
    }
  }
docs: writeLog is a wrapper for process.stdout.write() but can be mocked
  
  @param {...Object} obj - objects to be printed to stdout