mirror of
https://github.com/joelwmale/webhook-action.git
synced 2024-11-29 19:05:22 +01:00
30 lines
528 B
JavaScript
30 lines
528 B
JavaScript
/**
|
|
* @fileoverview Handle logging for ESLint
|
|
* @author Gyandeep Singh
|
|
*/
|
|
|
|
"use strict";
|
|
|
|
/* eslint no-console: "off" */
|
|
|
|
/* istanbul 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);
|
|
}
|
|
};
|