code: function searchForArrowCloudLogDir() {
  	if (isWritable('/ctlog')) {
  		return '/ctlog';
  	}
  	if (process.env.HOME && isWritable(path.join(process.env.HOME, 'ctlog'))) {
  		return path.join(process.env.HOME, 'ctlog');
  	}
  	if (process.env.USERPROFILE && isWritable(path.join(process.env.USERPROFILE, 'ctlog'))) {
  		return path.join(process.env.USERPROFILE, 'ctlog');
  	}
  	if (isWritable('./logs')) {
  		return path.resolve('./logs');
  	}
  	throw new Error('No writable logging directory was found.');
  }
docs: istanbul ignore next 
  Looks through the filesystem for a writable spot to which we can write the logs.
  @returns {string}