webhook/node_modules/eslint/lib/shared/logging.js

31 lines
538 B
JavaScript
Raw Normal View History

/**
* @fileoverview Handle logging for ESLint
* @author Gyandeep Singh
*/
"use strict";
2022-11-10 11:43:16 +01:00
/* eslint no-console: "off" -- Logging util */
2022-11-10 11:43:16 +01:00
/* 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);
}
};