log.js 210 B

123456789101112
  1. var _config = require("../config");
  2. var debugMode = _config.debugMode;
  3. var logError = function () {};
  4. if (debugMode === 1) {
  5. logError = console.error;
  6. }
  7. var _default = logError;
  8. module.exports = _default;