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.
30 lines
528 B
30 lines
528 B
/** |
|
* @fileoverview Handle logging for ESLint |
|
* @author Gyandeep Singh |
|
*/ |
|
|
|
"use strict"; |
|
|
|
/* eslint no-console: "off" */ |
|
|
|
/* istanbul ignore next */ |
|
module.exports = { |
|
|
|
/** |
|
* Cover for console.log |
|
* @param {...any} args The elements to log. |
|
* @returns {void} |
|
*/ |
|
info(...args) { |
|
console.log(...args); |
|
}, |
|
|
|
/** |
|
* Cover for console.error |
|
* @param {...any} args The elements to log. |
|
* @returns {void} |
|
*/ |
|
error(...args) { |
|
console.error(...args); |
|
} |
|
};
|
|
|