39 lines
		
	
	
		
			635 B
		
	
	
	
		
			JavaScript
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			39 lines
		
	
	
		
			635 B
		
	
	
	
		
			JavaScript
		
	
	
		
			Executable File
		
	
	
	
	
/**
 | 
						|
 * @fileoverview Handle logging for ESLint
 | 
						|
 * @author Gyandeep Singh
 | 
						|
 */
 | 
						|
 | 
						|
"use strict";
 | 
						|
 | 
						|
/* eslint no-console: "off" -- Logging util */
 | 
						|
 | 
						|
/* c8 ignore next */
 | 
						|
module.exports = {
 | 
						|
	/**
 | 
						|
	 * Cover for console.info
 | 
						|
	 * @param {...any} args The elements to log.
 | 
						|
	 * @returns {void}
 | 
						|
	 */
 | 
						|
	info(...args) {
 | 
						|
		console.log(...args);
 | 
						|
	},
 | 
						|
 | 
						|
	/**
 | 
						|
	 * Cover for console.warn
 | 
						|
	 * @param {...any} args The elements to log.
 | 
						|
	 * @returns {void}
 | 
						|
	 */
 | 
						|
	warn(...args) {
 | 
						|
		console.warn(...args);
 | 
						|
	},
 | 
						|
 | 
						|
	/**
 | 
						|
	 * Cover for console.error
 | 
						|
	 * @param {...any} args The elements to log.
 | 
						|
	 * @returns {void}
 | 
						|
	 */
 | 
						|
	error(...args) {
 | 
						|
		console.error(...args);
 | 
						|
	},
 | 
						|
};
 |