InternetProgramming/Lab3/node_modules/eslint/lib/shared/logging.js

31 lines
538 B
JavaScript
Raw Permalink Normal View History

2023-12-15 14:42:22 +04:00
/**
* @fileoverview Handle logging for ESLint
* @author Gyandeep Singh
*/
"use strict";
/* eslint no-console: "off" -- Logging util */
/* c8 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);
}
};