mirror of https://github.com/lukechilds/node.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
526 B
28 lines
526 B
/**
|
|
* @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: 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));
|
|
}
|
|
};
|
|
|