rizowski/eslint-watch

View on GitHub
src/logger.js

Summary

Maintainability
A
0 mins
Test Coverage
const debug = require('debug');

module.exports = {
  createLogger(thing) {
    return {
      log: console.log,
      error: console.error,
      debug: debug(`esw:${thing}`),
    };
  },
};