Ohm-Management - Projektarbeit B-ME
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.

logging.js 430B

12345678910111213141516171819202122232425262728
  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. * @returns {void}
  12. */
  13. info(...args) {
  14. console.log(...args);
  15. },
  16. /**
  17. * Cover for console.error
  18. * @returns {void}
  19. */
  20. error(...args) {
  21. console.error(...args);
  22. }
  23. };