node/tools/eslint/lib/logging.js
silverwind d9b8758f47 tools: update ESLint to 2.7.0
PR-URL: https://github.com/nodejs/node/pull/6132
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: thefourtheye <thechargingvolcano@gmail.com>
2016-04-20 16:24:21 -07:00

26 lines
549 B
JavaScript

/**
* @fileoverview Handle logging for ESLint
* @author Gyandeep Singh
* @copyright 2015 Gyandeep Singh. All rights reserved.
*/
"use strict";
/* istanbul ignore next */
module.exports = {
/**
* Cover for console.log
* @returns {void}
*/
info: function() {
console.log.apply(console, Array.prototype.slice.call(arguments));
},
/**
* Cover for console.error
* @returns {void}
*/
error: function() {
console.error.apply(console, Array.prototype.slice.call(arguments));
}
};