UNPKG

430 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 * @returns {void}
16 */
17 info(...args) {
18 console.log(...args);
19 },
20
21 /**
22 * Cover for console.error
23 * @returns {void}
24 */
25 error(...args) {
26 console.error(...args);
27 }
28};