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

31 lines
538 B
JavaScript
Raw Permalink Normal View History

2024-08-09 12:04:48 +00:00
/**
* @fileoverview Handle logging for ESLint
* @author Gyandeep Singh
*/
"use strict";
2024-08-21 06:34:30 +00:00
/* eslint no-console: "off" -- Logging util */
2024-08-09 12:04:48 +00:00
2024-08-21 06:34:30 +00:00
/* c8 ignore next */
2024-08-09 12:04:48 +00:00
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);
}
};