source: imaps-frontend/node_modules/eslint/lib/shared/logging.js@ d565449

main
Last change on this file since d565449 was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago

Update repo after prototype presentation

  • Property mode set to 100644
File size: 538 bytes
Line 
1/**
2 * @fileoverview Handle logging for ESLint
3 * @author Gyandeep Singh
4 */
5
6"use strict";
7
8/* eslint no-console: "off" -- Logging util */
9
10/* c8 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};
Note: See TracBrowser for help on using the repository browser.