UNPKG

528 BJavaScriptView Raw
1/**
2 * @fileoverview Handle logging for ESLint
3 * @author Gyandeep Singh
4 */
5
6"use strict";
7
8/* eslint no-console: "off" */
9
10/* istanbul ignore next */
11module.exports = {
12
13 /**
14 * Cover for console.log
15 * @param {...any} args The elements to log.
16 * @returns {void}
17 */
18 info(...args) {
19 console.log(...args);
20 },
21
22 /**
23 * Cover for console.error
24 * @param {...any} args The elements to log.
25 * @returns {void}
26 */
27 error(...args) {
28 console.error(...args);
29 }
30};