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>
26 lines
549 B
JavaScript
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));
|
|
}
|
|
};
|