node/tools/eslint/lib/logging.js
Anatoli Papirovski 37b50357c7
tools: update to ESLint 4.8.0
PR-URL: https://github.com/nodejs/node/pull/16199
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
2017-10-23 17:18:19 -04:00

28 lines
450 B
JavaScript

/**
* @fileoverview Handle logging for ESLint
* @author Gyandeep Singh
*/
"use strict";
/* eslint no-console: "off" */
/* istanbul ignore next */
module.exports = {
/**
* Cover for console.log
* @returns {void}
*/
info() {
console.log.apply(console, arguments);
},
/**
* Cover for console.error
* @returns {void}
*/
error() {
console.error.apply(console, arguments);
}
};