You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
528 B

4 years ago
  1. /**
  2. * @fileoverview Handle logging for ESLint
  3. * @author Gyandeep Singh
  4. */
  5. "use strict";
  6. /* eslint no-console: "off" */
  7. /* istanbul ignore next */
  8. module.exports = {
  9. /**
  10. * Cover for console.log
  11. * @param {...any} args The elements to log.
  12. * @returns {void}
  13. */
  14. info(...args) {
  15. console.log(...args);
  16. },
  17. /**
  18. * Cover for console.error
  19. * @param {...any} args The elements to log.
  20. * @returns {void}
  21. */
  22. error(...args) {
  23. console.error(...args);
  24. }
  25. };