code: function buildReporter(methods) {
  	return {
  		supports: methods.supports,
  		begin: buildReporterMethod(methods.begin),
  		results: buildReporterMethod(methods.results),
  		log: {
  			debug: buildReporterMethod(methods.debug),
  			error: buildReporterMethod(methods.error, 'error'),
  			info: buildReporterMethod(methods.info)
  		}
  	};
  }
docs: Build a Pa11y reporter.
  @private
  @param {Object} methods - The reporter methods.
  @returns {Promise} Returns a promise which resolves with the new reporter.